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

Method String

objects.go:634–639  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

632}
633
634func (o *Error) String() string {
635 if o.Value != nil {
636 return fmt.Sprintf("error: %s", o.Value.String())
637 }
638 return "error"
639}
640
641// IsFalsy returns true if the value of the type is falsy.
642func (o *Error) IsFalsy() bool {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected