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

Method taskMap

app/views/editor/level/tasks/TasksTabView.js:76–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 }
75
76 taskMap () {
77 return this.tasks != null
78 ? this.tasks.map(_obj => ({
79 name: _obj.get('name'),
80 complete: (_obj.get('complete') || false)
81 }))
82 : undefined
83 }
84
85 taskArray () {
86 return (this.tasks != null ? this.tasks.toArray() : undefined)

Callers 1

pushTasksMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected