Tao.Lua SDK Documentation

Lua.luaL_checkinteger Method 

Checks whether the function argument narg is a number and returns this number cast to a lua_Integer.

[Visual Basic]
Public Shared Function luaL_checkinteger( _
   ByVal L As IntPtr, _
   ByVal numArg As Integer _
) As Integer
[C#]
public static int luaL_checkinteger(
   IntPtr L,
   int numArg
);

Parameters

L
numArg

Return Value

See Also

Lua Class | Tao.Lua Namespace