MCPcopy Index your code
hub / github.com/codecombat/codecombat / numericalCourses

Function numericalCourses

app/core/utils.js:1941–1941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1939module.exports.courseDescription = (includedCourseIDs, credit = undefined) => {
1940 const { LICENSE_PRESETS } = require('./constants')
1941 const numericalCourses = courses => courses.reduce((s, k) => s + courseNumericalStatus[k], 0)
1942 const courseSame = (a, b) => a.length === b.length && numericalCourses(a) === numericalCourses(b)
1943 if (includedCourseIDs) {
1944 const hsCourses = [...HACKSTACK_COURSE_IDS.filter(x => x !== allCourseIDs.HACKSTACK)]

Callers 1

courseSameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected