Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
498
func
(n *Nature) IsBool() bool {
499
return
n.Kind == reflect.Bool
500
}
501
502
func
(n *Nature) IsString() bool {
503
return
n.Kind == reflect.String
Callers
5
IsAnyOf
Method · 0.95
unaryNode
Method · 0.80
binaryNode
Method · 0.80
builtinNode
Method · 0.80
conditionalNode
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected