View definition


Defined in


ToInteger converts the Lua value at index into a signed integer. The Lua value must be a number, or a string convertible to a number.

If the number is not an integer, it is truncated in some non-specified way.

If the operation failed, the second return value will be false.

ToInteger is referenced in 2 repositories