MCPcopy Create free account
hub / github.com/buke/quickjs-go / Bool

Method Bool

value.go:128–130  ·  view source on GitHub ↗

Deprecated: Use ToBool instead.

()

Source from the content-addressed store, hash-verified

126
127// Deprecated: Use ToBool instead.
128func (v *Value) Bool() bool {
129 return v.ToBool()
130}
131
132// ToBool returns the boolean value of the value.
133func (v *Value) ToBool() bool {

Callers 3

isEmptyValueFunction · 0.45
marshalMethod · 0.45
TestValueConversionsFunction · 0.45

Calls 1

ToBoolMethod · 0.95

Tested by 1

TestValueConversionsFunction · 0.36