@bytebury/sauce - v1.13.0
    Preparing search index...

    Function isNotWhitespace

    • Determines if the given text contains any non-whitespace characters.

      Parameters

      • text: string

      Returns boolean

      This is null | undefined safe. If you pass null | undefined then this will return false.

      isNotWhitespace(null); // false
      isNotWhitespace(" "); // false
      isNotWhitespace("Hello"); // true