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

Method IsBool

checker/nature/nature.go:498–500  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

496}
497
498func (n *Nature) IsBool() bool {
499 return n.Kind == reflect.Bool
500}
501
502func (n *Nature) IsString() bool {
503 return n.Kind == reflect.String

Callers 5

IsAnyOfMethod · 0.95
unaryNodeMethod · 0.80
binaryNodeMethod · 0.80
builtinNodeMethod · 0.80
conditionalNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected