Skip to content

@technobuddha > library > String > Categorization

Function: isWhitespace() ​

ts
function isWhitespace(input: string): boolean;

Defined in: is-whitespace.ts:8

Test a string for all white space characters

Parameters ​

ParameterTypeDescription
inputstringstring to test

Returns ​

boolean

true, if all characters in the string are white space