Skip to content

Kirby 4.5.0

$collection->intersects()

Checks if there is an intersection between the given collection and this collection

$collection->intersects(\Kirby\Toolkit\Collection $other): bool

Parameters

Name Type Default
$other * Kirby\Toolkit\Collection

Return type

bool

Parent class

Kirby\Cms\Collection inherited from Kirby\Toolkit\Collection