isUserData method

bool isUserData(
  1. int index
)

Returns true if the value at the given index is a userdata (either full or light), and false otherwise.

Lua Docs.

Implementation

bool isUserData(int index) => lua.lua.lua_isuserdata(pointer, index) == 1;