Tao.Lua SDK Documentation

Lua.lua_type Method 

Returns the type of the value in the given acceptable index, or LUA_TNONE for a non-valid index (that is, an index to an "empty" stack position). The types returned by lua_type are coded by the following constants defined in lua.h: LUA_TNIL, LUA_TNUMBER, LUA_TBOOLEAN, LUA_TSTRING, LUA_TTABLE, LUA_TFUNCTION, LUA_TUSERDATA, LUA_TTHREAD, and LUA_TLIGHTUSERDATA.

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

Parameters

L
idx

Return Value

See Also

Lua Class | Tao.Lua Namespace