JS Utils Kit - v0.5.1
    Preparing search index...

    Function containsWhitespace

    • Checks if a string contains any whitespace.

      Parameters

      • value: string

        The string to check.

      Returns boolean

      True if the string contains whitespace.

      containsWhitespace("Hello world") // true
      containsWhitespace("Nowordspace") // false