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

Method IsUnknown

checker/nature/nature.go:219–221  ·  view source on GitHub ↗
(c *Cache)

Source from the content-addressed store, hash-verified

217}
218
219func (n *Nature) IsUnknown(c *Cache) bool {
220 return n.Type == nil && !n.Nil || n.IsAny(c)
221}
222
223func (n *Nature) String() string {
224 if n.Type != nil {

Callers 15

PromoteNumericNatureMethod · 0.95
ComparableToMethod · 0.95
MaybeCompatibleMethod · 0.95
BuiltinNodeMethod · 0.80
checkMethod · 0.80
unaryNodeMethod · 0.80
binaryNodeMethod · 0.80
memberNodeMethod · 0.80
sliceNodeMethod · 0.80
callNodeMethod · 0.80
builtinNodeMethod · 0.80
checkBuiltinGetMethod · 0.80

Calls 1

IsAnyMethod · 0.95

Tested by

no test coverage detected