Skip to content

Kirby 6.0.1

$defaultVisitor->logical()

Processes logical operation

$defaultVisitor->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.

$defaultVisitor->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

Parent class

Kirby\Query\Visitors\DefaultVisitor