MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / isExamId

Function isExamId

api/src/utils/get-challenges.ts:83–83  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

81 * @returns A boolean indicating if the challenge id is an exam challenge.
82 */
83export const isExamId = (id: string): boolean => examChallenges.has(id);
84
85/**
86 * Get all challenge IDs for a specific block.

Callers 2

challengeRoutesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected