MCPcopy
hub / github.com/expr-lang/expr / IsOverridden

Method IsOverridden

conf/config.go:99–107  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

97}
98
99func (c *Config) IsOverridden(name string) bool {
100 if _, ok := c.Functions[name]; ok {
101 return true
102 }
103 if _, ok := c.Env.Get(&c.NtCache, name); ok {
104 return true
105 }
106 return false
107}

Callers 1

parseCallMethod · 0.80

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected