Type guard function that checks if a value is of a certain type.
The type to check for.
The value to check the type of.
A boolean indicating whether the value is of the specified type.
Type guard function that checks if a value is of a certain type.