$listItems->has()
Checks by key if an element is included
$listItems->has( $key): bool
Parameters
| Name | Type | Default |
|---|---|---|
$key |
mixed |
- |
Return type
bool
Parent class
Wagnerwagner\Merx\ListItems inherited from Kirby\Toolkit\Iterator