MCPcopy Create free account
hub / github.com/dop251/goja / ToObject

Method ToObject

value.go:86–86  ·  view source on GitHub ↗
(*Runtime)

Source from the content-addressed store, hash-verified

84 ToNumber() Value
85 ToBoolean() bool
86 ToObject(*Runtime) *Object
87 SameAs(Value) bool
88 Equals(Value) bool
89 StrictEquals(Value) bool

Callers 15

TestSetFuncVariadicFunction · 0.65
TestDateConversionFunction · 0.65
ExampleRuntime_ForOfFunction · 0.65
dateproto_toJSONMethod · 0.65
arrayproto_pushMethod · 0.65
arrayproto_popMethod · 0.65
arrayproto_joinMethod · 0.65
arrayproto_toStringMethod · 0.65
arrayproto_concatMethod · 0.65

Implementers 6

valueNullvalue.go
Objectobject.go
Symbolvalue.go
importedStringstring_imported.go

Calls

no outgoing calls

Tested by 7

TestSetFuncVariadicFunction · 0.52
TestDateConversionFunction · 0.52
ExampleRuntime_ForOfFunction · 0.52
TestProxy_native_deleteFunction · 0.52