def stack_type_at(pos=-1)

      type = Lib.lua_type(@pointer, pos)
      tname = Lib.lua_typename(@pointer, type)

      [ type, tname ]
    end
def stack_type_at(pos=-1)

      type = Lib.lua_type(@pointer, pos)
      tname = Lib.lua_typename(@pointer, type)

      [ type, tname ]
    end
Returns a pair type (int) and type name (string) of the element on top
 of the Lua state's stack. There is an optional pos paramter to peek
 at other elements of the stack.