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

Method isEmailSubscriptionEnabled

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

Source from the content-addressed store, hash-verified

284 }
285
286 isEmailSubscriptionEnabled (name) { return (this.get('emails') || {})[name]?.enabled }
287
288 isHomeUser () { return (!this.get('role')) || this.isParentHome() }
289

Callers 1

afterRenderMethod · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected