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

Method IsNone

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

IsNone verifies that the value at index is not valid. http://www.lua.org/manual/5.2/manual.html#lua_isnone

(index int)

Source from the content-addressed store, hash-verified

1519//
1520// http://www.lua.org/manual/5.2/manual.html#lua_isnone
1521func (l *State) IsNone(index int) bool { return l.TypeOf(index) == TypeNone }
1522
1523// IsNoneOrNil verifies that the value at index is either nil or invalid.
1524//

Callers 3

base.goFile · 0.80
closeFunction · 0.80
io.goFile · 0.80

Calls 1

TypeOfMethod · 0.95

Tested by

no test coverage detected