Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > is_whitespace

API Function: is_whitespace

Summary:
return whether a string is entirely whitespace

Defined In LPC Object:
/usr/common/sys/stringd.c

Prototype:
int is_whitespace(string str)

Can Be Called By:
Anybody

Description:

Returns true if the string consists only of whitespace such as space, newline or tab.

Return Value:

1 for true, 0 for false.

Errors:
Normally none.

See Also:
char_is_whitespace