API: Core
firstItem
Function reference for firstItem.
Overview
- Kind: Function
- Source: packages/core/src/collection/collection.ts:275
Signature
function firstItem<T extends CollectionItem>(items: readonly T[]): CollectionNavigationResult<T>
| Parameter | Type | Optional | Description |
|---|---|---|---|
items |
readonly T[] |
Returns CollectionNavigationResult<T>