LuaScript Xojo Plugin |

# LuaScriptContext.IsNumber Method

Checks if a item on the stack is a double variable.

IsNumber(
index as Integer) as Boolean

#### Parameters

index
  The index of the element in the stack to check for. -1 is the element at top of the stack, the last element pushed onto the stack.

#### Returns

Boolean
  True if the item is double, else false

#### Remarks

#### See Also

LuaScriptContext Class