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

Method playerIDs

app/views/ladder/LadderPlayModal.js:335–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

333 }
334
335 playerIDs () {
336 const collections = [this.easyPlayer, this.mediumPlayer, this.hardPlayer]
337 return (collections.filter((c) => c?.models[0]).map((c) => c.models[0].get('creator')))
338 }
339
340 allLoaded () {
341 return _.all([this.easyPlayer.loaded, this.mediumPlayer.loaded, this.hardPlayer.loaded])

Callers

nothing calls this directly

Calls 2

filterMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected