Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ IsPrimitive
Function
IsPrimitive
coderd/rbac/regosql/sqltypes/node.go:33–40 ·
view source on GitHub ↗
(n Node)
Source
from the content-addressed store, hash-verified
31
}
32
33
func
IsPrimitive(n Node) bool {
34
switch
n.(
type
) {
35
case
AstBoolean, AstString, AstNumber:
36
return
true
37
}
38
39
return
false
40
}
Callers
1
BoolParenthesis
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected