Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ ToBoolean
Method
ToBoolean
value.go:85–85 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
83
ToFloat() float64
84
ToNumber() Value
85
ToBoolean() bool
86
ToObject(*Runtime) *Object
87
SameAs(Value) bool
88
Equals(Value) bool
Callers
15
toReflectValue
Method · 0.95
constant
Method · 0.65
emitGetter
Method · 0.65
constant
Method · 0.65
emitGetter
Method · 0.65
boolProxyCall
Method · 0.65
regexpproto_getFlags
Method · 0.65
isConcatSpreadable
Function · 0.65
arrayproto_every
Method · 0.65
arrayproto_some
Method · 0.65
arrayproto_filter
Method · 0.65
arrayproto_find
Method · 0.65
Implementers
6
valueNull
value.go
valueProperty
value.go
Object
object.go
valueUnresolved
value.go
Symbol
value.go
importedString
string_imported.go
Calls
no outgoing calls
Tested by
3
TestPrimitivePtr
Function · 0.52
TestProxy_native_proxy_isExtensible
Function · 0.52
TestProxy_native_proxy_preventExtensions
Function · 0.52