MCPcopy Index your code
hub / github.com/Shopify/go-lua / IsNoneOrNil

Method IsNoneOrNil

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

IsNoneOrNil verifies that the value at index is either nil or invalid. http://www.lua.org/manual/5.2/manual.html#lua_isnonornil.

(index int)

Source from the content-addressed store, hash-verified

1524//
1525// http://www.lua.org/manual/5.2/manual.html#lua_isnonornil.
1526func (l *State) IsNoneOrNil(index int) bool { return l.TypeOf(index) <= TypeNil }
1527
1528// PushGlobalTable pushes the global environment onto the stack.
1529//

Callers 10

debug.goFile · 0.80
base.goFile · 0.80
table.goFile · 0.80
ioFileHelperFunction · 0.80
math.goFile · 0.80
OptStringFunction · 0.80
OptNumberFunction · 0.80
OptIntegerFunction · 0.80
OptUnsignedFunction · 0.80
os.goFile · 0.80

Calls 1

TypeOfMethod · 0.95

Tested by

no test coverage detected