$visitor->logical()
$visitor->logical() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
$visitor->logical(mixed $left, string $operator, Closure $right): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $leftrequired | mixed |
no default value |
| $operatorrequired | string |
no default value |
| $rightrequired | Closure |
no default value |
Return type
bool