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

Function isLicensor

app/core/store/modules/me.js:48–50  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

46 },
47
48 isLicensor (state) {
49 return ((state != null ? state.permissions : undefined) || []).indexOf(User.PERMISSIONS.LICENSOR) > -1
50 },
51
52 isAPIClient (state) {
53 return ((state != null ? state.permissions : undefined) || []).indexOf(User.PERMISSIONS.API_CLIENT) > -1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected