MCPcopy Index your code
hub / github.com/codecombat/codecombat / isParentHome

Method isParentHome

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

Source from the content-addressed store, hash-verified

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

Callers 10

isHomeUserMethod · 0.95
''Method · 0.80
constructorMethod · 0.80
loginNavigateFunction · 0.80
onLoadedMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
promptForSubscriptionMethod · 0.80
onClickPremiumButtonMethod · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected