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

Method isHomeUser

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

Source from the content-addressed store, hash-verified

286 isEmailSubscriptionEnabled (name) { return (this.get('emails') || {})[name]?.enabled }
287
288 isHomeUser () { return (!this.get('role')) || this.isParentHome() }
289
290 isParentHome () { return this.get('role') === 'parent-home' }
291

Callers 8

isRegisteredHomeUserMethod · 0.95
shouldShowAiBotHelpFunction · 0.80
utils.jsFile · 0.80
shouldShowMethod · 0.80
onClickContinueMethod · 0.80

Calls 2

getMethod · 0.95
isParentHomeMethod · 0.95

Tested by

no test coverage detected