Skip to content
CSCosmos
TSViz
Concepts
Problems
Playground
GitHub
Toggle theme
Problems
Medium
Type guards
Keyof assertions
Implement isKey(obj, key): key is keyof typeof obj.
Show hints
Show solution
Solution
Reset
Run
Loading...
Run your code to see output and diagnostics.