$productList->first()
Returns the first element
$productList->first(): TValue|null
Return type
TValue or null
Parent class
Wagnerwagner\Merx\ProductList inherited from Kirby\Toolkit\Collection
Returns the first element
$productList->first(): TValue|null
TValue or null
Wagnerwagner\Merx\ProductList inherited from Kirby\Toolkit\Collection