take
take()
Section titled “take()”Category: Collection
Returns the first n items in a collection
Signature
Section titled “Signature”- Return type:
collection - Parameters:
numinteger— Number of items to take
Examples
Section titled “Examples”Patient.name.take(2)Bundle.entry.take(5)