MCPcopy Create free account
hub / github.com/Shopify/go-lua / IsLightUserData

Method IsLightUserData

lua.go:1501–1501  ·  view source on GitHub ↗

IsLightUserData verifies that the value at index is a light userdata. http://www.lua.org/manual/5.2/manual.html#lua_islightuserdata

(index int)

Source from the content-addressed store, hash-verified

1499//
1500// http://www.lua.org/manual/5.2/manual.html#lua_islightuserdata
1501func (l *State) IsLightUserData(index int) bool { return l.TypeOf(index) == TypeLightUserData }
1502
1503// IsNil verifies that the value at index is nil.
1504//

Callers

nothing calls this directly

Calls 1

TypeOfMethod · 0.95

Tested by

no test coverage detected