Example #1
0
File: lua.go Project: szll/golua
// lua_isnumber
func (L *State) IsNumber(index int) bool { return C.lua_isnumber(L.s, C.int(index)) == 1 }
Example #2
0
func Lua_isnumber(L Lua_State, idx int) bool {
	return C.lua_isnumber(Lua_CStatePtr(L), C.int(idx)) != 0
}