MCPcopy Create free account
hub / github.com/codecombat/codecombat / isICode

Method isICode

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

Source from the content-addressed store, hash-verified

1396 }
1397
1398 isICode () {
1399 return (this.get('clientCreator') === '61393874c324991d0f68fc70') || (this.get('clientPermissions') || []).some(p => p.client === '61393874c324991d0f68fc70')
1400 }
1401
1402 isTecmilenio () {
1403 return ['62de625ef3365e002314d554', '62e7a13c85e9850026fa2c7f'].includes(this.get('clientCreator')) || (this.get('clientPermissions') || []).some(p => ['62de625ef3365e002314d554', '62e7a13c85e9850026fa2c7f'].includes(p.client))

Callers 3

hideTopRightNavMethod · 0.95
hideFooterMethod · 0.95
hideOtherProductCTAsMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected