`IsAny` is a deep topic. This is one of the most theoretical challenges of the entire project. There are some challenges that test your TypeScript street smarts, but this one tests your TypeScript book smarts. There's no way to brute force your way through this one. You gotta just sit back and think.
00:00 description of the challenge
00:48 attempt at a solution
03:38 all tests pass
05:18 alternatives
You can view the code for this challenge on GitHub: https://github.com/type-challenges/type-challenges/issues/25920. You can also view the umbrella issue with code for all the challenges we've solved here: https://github.com/type-challenges/type-challenges/issues/21338
A new challenge posts every day from January 1st 2023 to May 20th 2023. If you’d like to join in solving them, please email us at:
[email protected]
Discord: https://discord.gg/tmhGfR4Dye
Twitter: https://twitter.com/MiTypeScript
Mastodon: https://fosstodon.org/@MichiganTypeScript
Instagram: https://www.instagram.com/michigantypescript
TikTok: https://www.tiktok.com/@michigantypescript