ROPE Language Reference - "isspace"

"isspace" pops a single string off the stack and checks whether every character it contains is white space (space, tab, new line or carriage return). If so: 1 (true) is pushed back onto the stack, otherwise 0 is pushed back.

As a special case: if the string is empty, the return is 0.

Example:

 "Hello" isspace println        # -- prints: 0
 " \n" isspace println          # -- prints: 1
 isspace( "   " ) println       # -- prints: 1
 isspace( "  " "DEF" )  println # -- error! too many arguments
 239 isspace println            # -- error! not a string

See Also

isalnum, isalpha, isascii, iscntrl, isdigit, iseoln, isgraph, islower, isprint, ispunct, isupper, isxdigit