MCPcopy Create free account
hub / github.com/d5/tengo / String

Method String

objects.go:912–918  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

910}
911
912func (o *ImmutableMap) String() string {
913 var pairs []string
914 for k, v := range o.Value {
915 pairs = append(pairs, fmt.Sprintf("%s: %s", k, v.String()))
916 }
917 return fmt.Sprintf("{%s}", strings.Join(pairs, ", "))
918}
919
920// Copy returns a copy of the type.
921func (o *ImmutableMap) Copy() Object {

Callers 1

StringMethod · 0.95

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected