Merx

$productList->key()

Returns the current key

$productList->key(): TKey|null

Return type

TKey or null

Parent class

Wagnerwagner\Merx\ProductList inherited from Kirby\Toolkit\Iterator