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

Function ArgKey

common/cost/model.go:238–240  ·  view source on GitHub ↗

ArgKey creates an expression referencing the key size of the argument at the given index.

(index int)

Source from the content-addressed store, hash-verified

236
237// ArgKey creates an expression referencing the key size of the argument at the given index.
238func ArgKey(index int) QuantityExpr {
239 return KeyOf(Arg(index))
240}
241
242// intArgExpr represents the integer value of an argument.
243type intArgExpr struct {

Calls 2

KeyOfFunction · 0.85
ArgFunction · 0.85