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

Method PushBoolean

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

PushBoolean pushes a boolean value with value b onto the stack. http://www.lua.org/manual/5.2/manual.html#lua_pushboolean

(b bool)

Source from the content-addressed store, hash-verified

1450//
1451// http://www.lua.org/manual/5.2/manual.html#lua_pushboolean
1452func (l *State) PushBoolean(b bool) { l.apiPush(b) }
1453
1454// PushLightUserData pushes a light user data onto the stack. Userdata
1455// represents Go values in Lua. A light userdata is an interface{}. Its

Callers 9

TestLuaFunction · 0.95
TestToBooleanOutOfRangeFunction · 0.95
bit32.goFile · 0.80
finishProtectedCallFunction · 0.80
base.goFile · 0.80
linesFunction · 0.80
PackageOpenFunction · 0.80
FileResultFunction · 0.80
os.goFile · 0.80

Calls 1

apiPushMethod · 0.95

Tested by 2

TestLuaFunction · 0.76
TestToBooleanOutOfRangeFunction · 0.76