MCPcopy Index your code
hub / github.com/yuin/gopher-lua / LVIsFalse

Function LVIsFalse

value.go:35–35  ·  view source on GitHub ↗

LVIsFalse returns true if a given LValue is a nil or false otherwise false.

(v LValue)

Source from the content-addressed store, hash-verified

33
34// LVIsFalse returns true if a given LValue is a nil or false otherwise false.
35func LVIsFalse(v LValue) bool { return v == LNil || v == LFalse }
36
37// LVIsFalse returns false if a given LValue is a nil or false otherwise true.
38func LVAsBool(v LValue) bool { return v != LNil && v != LFalse }

Callers 6

initFunction · 0.85
strGsubTableFunction · 0.85
strGsubFuncFunction · 0.85
initFunction · 0.85
ResumeMethod · 0.85
ResumeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…