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

Method items

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

Source from the content-addressed store, hash-verified

471 }
472
473 items () {
474 let left, left1
475 return ((left = this.get('earned')?.items) != null ? left : []).concat((left1 = this.get('purchased')?.items) != null ? left1 : []).concat([ThangTypeConstants.items['simple-boots']])
476 }
477
478 levels () {
479 const earned = this.get('earned')?.levels || []

Callers 1

ownsItemMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected