Skip to content

take

Category: Collection

Returns the first n items in a collection

  • Return type: collection
  • Parameters:
    • num integer — Number of items to take
Patient.name.take(2)
Bundle.entry.take(5)