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

Method Nature

types/types.go:157–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155}
156
157func (a array) Nature() Nature {
158 of := a.of.Nature()
159 nt := NatureOf([]any{})
160 if nt.TypeData == nil {
161 nt.TypeData = new(TypeData)
162 }
163 nt.Fields = make(map[string]Nature, 1)
164 nt.Ref = &of
165 return nt
166}
167
168func (a array) Equal(t Type) bool {
169 if t == Any {

Callers

nothing calls this directly

Calls 2

NatureOfFunction · 0.85
NatureMethod · 0.65

Tested by

no test coverage detected