( challengeType: number, blockDashedName: unknown = null )
| 20 | ]; |
| 21 | |
| 22 | export const isProjectBased = ( |
| 23 | challengeType: number, |
| 24 | blockDashedName: unknown = null |
| 25 | ) => { |
| 26 | // Is project based but should be collapsible, this differs from the |
| 27 | // other projects which are not collapsible. |
| 28 | if (blockDashedName === 'take-home-projects') return false; |
| 29 | |
| 30 | return projectBasedChallengeTypes.includes(challengeType); |
| 31 | }; |
no outgoing calls
no test coverage detected