Returns true if the value type is the same as the type passed as the second parameter, false otherwise.
The expected type.
Returns true if the value type is the same as the type passed as the second parameter, false otherwise.