Checks if a ref object is of a given ref type.
Reference object.
Reference type.
true if it is of the given type, false otherwise.
true
T Referenced object type.
Checks if a ref object is of a given ref type.