Checks if the typeof result of value is equal to the provided type.
typeof
value
type
1.0.0
isTypeOf(1, "number");// => true Copy
isTypeOf(1, "number");// => true
Checks if the
typeof
result ofvalue
is equal to the providedtype
.