isWhitespace()
Test for whitespace characters starting at the beginning of a string.
This function is valid in v2.0.0 to v2.24.3. This function has been downloaded 63 times.false
true
, only the beginning of the string is checked to see if it starts with a whitespace character. If false
, all of the string is checked to see if it only contains whitespace characters.true
if opt_onlyCheckStart
is true
-ish and str
starts with a whitespace character or if opt_onlyCheckStart
is false
-ish and str
only contains whitespace characters. Otherwise false
is returned.This function directly requires the following function which is included automatically:
isRegExpMatch()