User Tools

Site Tools


modding:function:isint

Discuss this page on this pages TalkPage

isInt

See isInt at Xelerus

Syntax (isInt expr) → True/Nil
Arguments expr: The expression you want to test for being an integer.
Returns boolean: True if expression is an integer. Nil otherwise.
Category condition query
Description Checks to see if the expression is an integer and if it is returns True. Otherwise returns Nil.

Example

(isInt "Betel")

Returns Nil.

(isInt 45)

Returns True. Return to Functions list

modding/function/isint.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1