Advanced
Detect never Correctly
IsNever<T> should be true when T is never and false for every other type. The starter gives never for IsNever<never>.
Fix it so distribution is turned off.
What Check tests
- Your code has no type errors
- IsNever<never> is true
- IsNever<never> is not false
- IsNever<string> is false
- IsNever<string> is not true
Stuck? One hint at a time
The solution unlocks after your first Check. Try first: that is where the learning happens.
Runs in your browser. Your code is saved here.
Press Run to see the page.
Console
Nothing printed yet.