MCPcopy 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
156func (Blog) IsAdmin(author Author) bool {
157 return author.IsAdmin()
158}
159
160func (Blog) IsZero(post Post) bool {
161 return post.IsZero()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected