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

Method String

value.go:714–716  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

712}
713
714func (o *Object) String() string {
715 return o.toPrimitiveString().String()
716}
717
718func (o *Object) ToFloat() float64 {
719 return o.toPrimitiveNumber().ToFloat()

Callers

nothing calls this directly

Calls 2

toPrimitiveStringMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected