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