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

Method String

atom.go:31–33  ·  view source on GitHub ↗

String returns the string representation of the atom. This method implements the fmt.Stringer interface. Deprecated: Use ToString() instead.

()

Source from the content-addressed store, hash-verified

29// This method implements the fmt.Stringer interface.
30// Deprecated: Use ToString() instead.
31func (a *Atom) String() string {
32 return a.ToString()
33}
34
35// ToValue returns the value representation of the atom.
36func (a *Atom) ToValue() *Value {

Callers 15

TestDeprecatedAtomAPIsFunction · 0.95
marshalMethod · 0.45
DumpMemoryUsageMethod · 0.45
TestValueConversionsFunction · 0.45
TestValuePropertiesFunction · 0.45
TestValueFunctionCallsFunction · 0.45
TestValueSpecialTypesFunction · 0.45
TestValueAwaitFunction · 0.45

Calls 1

ToStringMethod · 0.95

Tested by 10

TestDeprecatedAtomAPIsFunction · 0.76
TestValueConversionsFunction · 0.36
TestValuePropertiesFunction · 0.36
TestValueFunctionCallsFunction · 0.36
TestValueSpecialTypesFunction · 0.36
TestValueAwaitFunction · 0.36