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

Method hasNoVerifiedChild

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

Source from the content-addressed store, hash-verified

290 isParentHome () { return this.get('role') === 'parent-home' }
291
292 hasNoVerifiedChild () { return !(_.find((this.get('related') || []), c => (c.relation === 'children') && c.verified)) }
293
294 isRegisteredHomeUser () { return this.isHomeUser() && !this.get('anonymous') }
295

Callers 1

loginNavigateFunction · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected