Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ IsRule
Method
IsRule
parse/parser/rule.go:156–158 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
154
}
155
156
func
(re RuleEl) IsRule() bool {
157
return
re.Rule != nil
158
}
159
160
func
(re RuleEl) IsToken() bool {
161
return
re.Rule == nil
Callers
2
Validate
Method · 0.80
DoRulesRevBinExp
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected