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

    Function toStringTrueFalse

    • Returns a string value of 'true'/'false' from the boolean value

      Parameters

      • Optionalvalue: boolean

        the boolean value to check

      Returns undefined | string

      the string value of 'true'/'false' from the boolean value

      David Hsing

      toStringTrueFalse(true);    // 'true'