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

Method IsBoolean

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

IsBoolean verifies that the value at index is a boolean. http://www.lua.org/manual/5.2/manual.html#lua_isboolean

(index int)

Source from the content-addressed store, hash-verified

1509//
1510// http://www.lua.org/manual/5.2/manual.html#lua_isboolean
1511func (l *State) IsBoolean(index int) bool { return l.TypeOf(index) == TypeBoolean }
1512
1513// IsThread verifies that the value at index is a thread.
1514//

Callers 1

os.goFile · 0.80

Calls 1

TypeOfMethod · 0.95

Tested by

no test coverage detected