Exemplo n.º 1
0
Arquivo: lua.go Projeto: szll/golua
// lua_isnumber
func (L *State) IsNumber(index int) bool { return C.lua_isnumber(L.s, C.int(index)) == 1 }
Exemplo n.º 2
0
func Lua_isnumber(L Lua_State, idx int) bool {
	return C.lua_isnumber(Lua_CStatePtr(L), C.int(idx)) != 0
}