(currentLevel: LevelType)
| 47 | * @param currentLevel |
| 48 | */ |
| 49 | export const getNextLevel = (currentLevel: LevelType) => { |
| 50 | const num = getCurrentLevelNum(currentLevel); |
| 51 | if (num >= allLevels.length - 1) { |
| 52 | return; |
| 53 | } |
| 54 | return allLevels[num + 1]; |
| 55 | }; |
nothing calls this directly
no test coverage detected