Skip to content

Kirby 4.4.1

$roles->intersects()

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

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

Parameters

Name Type Default
$other * Kirby\Toolkit\Collection

Return type

bool

Parent class

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