Skip to content

ofType

Category: Type

Returns items from the collection that are of the specified type or a subtype thereof

  • Return type: collection
  • Parameters:
    • type string — The type to filter by
Bundle.entry.resource.ofType('Patient')
Patient.telecom.ofType('ContactPoint')
('a', 1, true, 2.5).ofType('Integer')