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

Method isAPIClient

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

Source from the content-addressed store, hash-verified

150 }
151
152 isAPIClient () {
153 const needle = this.constructor.PERMISSIONS.API_CLIENT
154 return this.get('permissions', true).includes(needle)
155 }
156
157 isBetaTester () {
158 const needle = this.constructor.PERMISSIONS.BETA_TESTER

Callers 3

''Method · 0.80
redirectHomeMethod · 0.80
loginNavigateFunction · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected