Home  Contents

ctype.isspace

Ctype Core4 Lua Commands

SYNOPSIS

result = ctype.isspace(code)

DESCRIPTION

The isspace function tests for the standard whitespace characters for which ctype.isalnum is false. The standard whitespace characters are the following:
‘ ’ 0x20 Space character.
\f 0x0C Form feed.
\n 0x0A New-line.
\r 0x0D Carriage return.
\t 0x09 Horizontal tab.
\v 0x0B Vertical tab.

RETURN VALUE

The function returns a boolean indicating if the character test succeeded.

SEE ALSO