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

Function TwoVarComprehensionsVersion

ext/comprehensions.go:175–180  ·  view source on GitHub ↗

TwoVarComprehensionsVersion sets the library version for two-variable comprehensions.

(version uint32)

Source from the content-addressed store, hash-verified

173
174// TwoVarComprehensionsVersion sets the library version for two-variable comprehensions.
175func TwoVarComprehensionsVersion(version uint32) TwoVarComprehensionsOption {
176 return func(lib *compreV2Lib) *compreV2Lib {
177 lib.version = version
178 return lib
179 }
180}
181
182type compreV2Lib struct {
183 version uint32

Calls

no outgoing calls

Tested by 1