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

Function isHomePlayer

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

Source from the content-addressed store, hash-verified

37 },
38
39 isHomePlayer (state) {
40 return !(state || {}).role && state.anonymous === false
41 },
42
43 isAdmin (state) {
44 const permissions = state.permissions || []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected