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

Function featureIDByName

cel/options.go:92–99  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

90}
91
92func featureIDByName(name string) (int, bool) {
93 for id, n := range featureIDsToNames {
94 if n == name {
95 return id, true
96 }
97 }
98 return 0, false
99}
100
101// limitID is used as a key for configurable limits. These are options that
102// support exporting to YAML environment config.

Callers 1

configToEnvOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected