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