The Utils Folder 10 exercises

Using Type Predicates to Create Reusable Type Guards

In this exercise, we have a passValue function and a passValueAgain function that are nearly identical. Both functions take in a value of unknown type and need to perform a complex check on the value before proceeding.

However, there are currently some errors. Inside of the hasDataAndId fun

Loading exercise