String.isSpace
isSpace() -> boolean
Description
Return true if the string consists of all whitespace characters or is empty.
'\n '.isSpace() //= true 'abc 123'.isSpace() //= false
Return true if the string consists of all whitespace characters or is empty.
'\n '.isSpace() //= true 'abc 123'.isSpace() //= false