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

Function MathVersion

ext/math.go:397–402  ·  view source on GitHub ↗

MathVersion sets the library version for math extensions.

(version uint32)

Source from the content-addressed store, hash-verified

395
396// MathVersion sets the library version for math extensions.
397func MathVersion(version uint32) MathOption {
398 return func(lib *mathLib) *mathLib {
399 lib.version = version
400 return lib
401 }
402}
403
404type mathLib struct {
405 version uint32

Callers 2

TestMathVersionsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestMathVersionsFunction · 0.68