Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

Const isSpace

  • isSpace(val: string): boolean
  • Checks if the given value is a space character. Checks for horizontal tab (9), line feed (10), vertical tab (11), form feed (12), carriage return (13) and space (32).

    example

    isSpace(' '); // true isSpace('a'); // false isSpace('foo'); // false

    Parameters

    • val: string

      The value to check.

    Returns boolean

    Whether the value is a space character.

Legend

  • Function

Generated using TypeDoc