Skip to content

exclude

Category: Collection

Returns a collection with all items from the input except those that match the argument

  • Return type: collection
  • Parameters:
    • other collection — Collection of items to exclude
(1 | 2 | 3).exclude(2)
Patient.telecom.exclude(Patient.telecom.where(system = 'email'))