isSpace()
Test for space 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 space character. If false
, all of the string is checked to see if it only contains space characters.true
if opt_onlyCheckStart
is true
-ish and str
starts with a space character or if opt_onlyCheckStart
is false
-ish and str
only contains space characters. Otherwise false
is returned.This function directly requires the following function which is included automatically:
isRegExpMatch()