@yookue/ts-lang-utils
    Preparing search index...

    Function toString10

    • Returns a string value of '1'/'0' from the boolean value

      Parameters

      • Optionalvalue: boolean

        the boolean value to check

      Returns undefined | string

      the string value of '1'/'0' from the boolean value

      David Hsing

      toString10(true);    // '1'