Skip to content

is

Category: Type

Returns true if the input is of the specified type or a subtype thereof

  • Return type: boolean
  • Parameters:
    • type string — The type to check against
Patient.name.is('HumanName')
Observation.value.is('Quantity')
5.is('Integer')