Checks if the given value matches the given shape and returns true or false as a type guard.
true
false
true or false
Checks if the given value matches the given shape and returns
true
orfalse
as a type guard.