isAs<T extends FhirBase> method

T? isAs<T extends FhirBase>()
inherited

Returns an Object cast as a Type if it is that type.

Implementation

T? isAs<T extends FhirBase>() => this is T ? this as T : null;