Tao.Lua.Lua.lua_isfunction C# (CSharp) Method

lua_isfunction() public static method

Returns 1 if the value at the given acceptable index is a function (either C or Lua), and 0 otherwise.
public static lua_isfunction ( lua_State L, int n ) : bool
L lua_State
n int
return bool
        public static bool lua_isfunction(lua_State L, int n)
        {
            return lua_type(L, n) == LUA_TFUNCTION;
        }
Lua