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

Function isParent

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

Source from the content-addressed store, hash-verified

33 },
34
35 isParent (state) {
36 return (state || {}).role === 'parent'
37 },
38
39 isHomePlayer (state) {
40 return !(state || {}).role && state.anonymous === false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected