$fieldClass->hasPrev()
Checks if there's a previous item in the collection
$fieldClass->hasPrev(Kirby\Form\Fields|null $collection = null): bool
Parameters
Name | Type | Default |
---|---|---|
$collection | Kirby\Form\Fields ornull |
null
|
Return type
bool