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

Method LiteralInt

cel/macro.go:71–71  ·  view source on GitHub ↗

LiteralInt creates an Expr value for an int literal.

(value int64)

Source from the content-addressed store, hash-verified

69
70 // LiteralInt creates an Expr value for an int literal.
71 LiteralInt(value int64) *exprpb.Expr
72
73 // LiteralString creates am Expr value for a string literal.
74 LiteralString(value string) *exprpb.Expr

Callers 2

TestCustomMacroFunction · 0.65
TestCustomExistsMacroFunction · 0.65

Implementers 1

adaptingHelpercel/macro.go

Calls

no outgoing calls

Tested by 2

TestCustomMacroFunction · 0.52
TestCustomExistsMacroFunction · 0.52