Identifying a Date value in an object type
If I iterate through an object type, I can look at each key:value and do this:
How am I meant to check if a value is a Date?
I have something like this:
If I iterate through the keys of a type like this looking for a Date type, I can't match it in the way I can match Boolean or number.
Neither of these work.
How am I meant to check if a value is a Date?
I have something like this:
If I iterate through the keys of a type like this looking for a Date type, I can't match it in the way I can match Boolean or number.
Neither of these work.