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

Method isStudentOnSkippedLevel

app/models/Classroom.js:426–430  ·  view source on GitHub ↗
(studentID, courseID, levelOriginal)

Source from the content-addressed store, hash-verified

424 }
425
426 isStudentOnSkippedLevel (studentID, courseID, levelOriginal) {
427 const lockedByTeacher = Classroom.isModifierActiveForStudent(this.attributes, studentID, courseID, levelOriginal, 'locked')
428 const optional = Classroom.isModifierActiveForStudent(this.attributes, studentID, courseID, levelOriginal, 'optional')
429 return lockedByTeacher && optional
430 }
431
432 updateCourses (options) {
433 if (options == null) { options = {} }

Callers 1

findNextLevelsBySessionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected