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

Method String

ext/formatting.go:742–742  ·  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, string)

Source from the content-addressed store, hash-verified

740 // String takes a ref.Val and a string representing the current locale identifier
741 // and returns the Val formatted as a string, or an error if one occurred.
742 String(ref.Val, string) (string, error)
743
744 // Decimal takes a ref.Val and a string representing the current locale identifier
745 // and returns the Val formatted as a decimal integer, or an error if one occurred.

Callers 15

NewStringMethod · 0.65
testDataFunction · 0.65
TestInterpreterFunction · 0.65
ResolveMethod · 0.65
FormatCheckedTypeFunction · 0.65
UnparseFunction · 0.65
bytesToOctetsFunction · 0.65
GetMetadataMethod · 0.65
formatListFunction · 0.65
formatMapFunction · 0.65
parseFormatStringFunction · 0.65

Implementers 4

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

Calls

no outgoing calls

Tested by 15

testDataFunction · 0.52
TestInterpreterFunction · 0.52
GetMetadataMethod · 0.52
TestNativeTypeValueFunction · 0.52
unquoteFunction · 0.52
msgWithExtensionsFunction · 0.52
TestFunctionMergeFunction · 0.52
TestIssuesFunction · 0.52