Skip to content

Kirby 4.2.0

$fields->intersects()

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

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

Parameters

Name Type Default
$other * Kirby\Toolkit\Collection

Return type

bool

Parent class

Kirby\Form\Fields inherited from Kirby\Toolkit\Collection