MCPcopy Index your code
hub / github.com/codecombat/codecombat / isNapervilleAdmin

Method isNapervilleAdmin

app/models/User.js:167–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165 }
166
167 isNapervilleAdmin () {
168 return this.get('permissions', true).includes(this.constructor.PERMISSIONS.NAPERVILLE_ADMIN)
169 }
170
171 isNapervilleUser () {
172 return this.get('library')?.name === NAPERVILLE_UNIQUE_KEY

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected