Function isBlank

  • Returns a boolean value denoting whether the input string is blank (all whitespace)

    Example

    Returns true

    isBlank("     ");
    

    Example

    Returns false

    isBlank("foo bar");
    

    Parameters

    • str: string

    Returns boolean

Generated using TypeDoc