(playtime, threshold)
| 1085 | } |
| 1086 | |
| 1087 | const needsPractice = function (playtime, threshold) { |
| 1088 | if (playtime == null) { playtime = 0 } |
| 1089 | if (threshold == null) { threshold = 5 } |
| 1090 | return (playtime / 60) > threshold |
| 1091 | } |
| 1092 | |
| 1093 | const sortAllCourses = courses => _.sortBy(courses, function (course) { |
| 1094 | // ._id can be from classroom.courses, otherwise it's probably .id |
nothing calls this directly
no outgoing calls
no test coverage detected