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

Method IsArray

checker/nature/nature.go:510–512  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

508}
509
510func (n *Nature) IsArray() bool {
511 return n.Kind == reflect.Slice || n.Kind == reflect.Array
512}
513
514func (n *Nature) IsMap() bool {
515 return n.Kind == reflect.Map

Callers 5

IsAnyOfMethod · 0.95
ComparableToMethod · 0.95
binaryNodeMethod · 0.80
builtinNodeMethod · 0.80
conditionalNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected