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

    Function isBlank

    • Returns whether the given string is blank

      Parameters

      • Optionaltext: null | string

        the string to check

      Returns boolean

      whether the given string is blank

      David Hsing

      check if all the characters in the given string are whitespace or line separators

      isBlank(undefined);    // true
      isBlank('foobar'); // false