$collections->has()
Checks if a collection exists
$collections->has(string $name): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
Return type
bool
This method modifies the existing $collections object it is applied to and returns it again.