$path->has()
Checks by key if an element is included
$path->has(string $key): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $keyrequired | string |
no default value |
Return type
bool
Parent class
Kirby\Http\Path
inherited from Kirby\Toolkit\Iterator
Checks by key if an element is included
$path->has(string $key): bool
| Name | Type | Default |
|---|---|---|
| $keyrequired | string |
no default value |
bool
Kirby\Http\Path
inherited from Kirby\Toolkit\Iterator