Member of the membership class.
c = iskeyword(a)
Determines whether a string is a keyword. Valid keywords are: 'break', 'case', 'catch', 'continue', 'else', 'elseif', 'end', 'for', 'function', 'global', 'if', 'otherwise', 'persistent', 'return', 'switch', 'try', and 'while'.
| Name | Description |
| a | Specifies a string. |
| Name | Description |
| c | Returns 1 if a is a valid keyword. Otherwise, this function returns 0. c is a Boolean. |
C = iskeyword('nan')
C = iskeyword('for')