MCPcopy Create free account
hub / github.com/cel-expr/cel-go / String

Method String

ext/formatting_v2.go:642–642  ·  view source on GitHub ↗

String takes a ref.Val and a string representing the current locale identifier and returns the Val formatted as a string, or an error if one occurred.

(ref.Val)

Source from the content-addressed store, hash-verified

640 // String takes a ref.Val and a string representing the current locale identifier
641 // and returns the Val formatted as a string, or an error if one occurred.
642 String(ref.Val) (string, error)
643
644 // Decimal takes a ref.Val and a string representing the current locale identifier
645 // and returns the Val formatted as a decimal integer, or an error if one occurred.

Callers 2

parseFormatStringV2Function · 0.65
parsePrecisionV2Function · 0.65

Implementers 4

stringFormatterV2ext/formatting_v2.go
stringFormatCheckerV2ext/formatting_v2.go
stringFormatterext/formatting.go
stringFormatCheckerext/formatting.go

Calls

no outgoing calls

Tested by

no test coverage detected