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

    Function isEmpty

    • Returns whether the given string is empty

      Parameters

      • Optionaltext: null | string

        the string to check

      Returns boolean

      whether the given string is empty

      David Hsing

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