Available languages: [Python](https://databento.com/docs/api-live/helpers/record-ref-has.python.md) · [C++](https://databento.com/docs/api-live/helpers/record-ref-has.cpp.md) · [Rust](https://databento.com/docs/api-live/helpers/record-ref-has.rust.md) · [Raw](https://databento.com/docs/api-live/helpers/record-ref-has.raw.md)

Source: https://databento.com/docs/api-live/helpers/record-ref-has


### RecordRef::has

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

#### API method

```rust
pub fn has<T: HasRType>(&self) -> bool;
```

#### Returns

`bool`

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