Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expr-lang/expr
/ IsAdmin
Method
IsAdmin
test/playground/env.go:156–158 ·
view source on GitHub ↗
(author Author)
Source
from the content-addressed store, hash-verified
154
}
155
156
func
(Blog) IsAdmin(author Author) bool {
157
return
author.IsAdmin()
158
}
159
160
func
(Blog) IsZero(post Post) bool {
161
return
post.IsZero()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected