RecordRef::has

Check if the record reference points to a record of a particular type.

Returns

bool

Whether the record reference points to a record of type T.

API method
pub fn has<T: HasRType>(&self) -> bool;