Skip to content

Kirby 4.3.0

$options->not()

Returns a Collection without the given element(s)

$options->not(mixed ...$keys = null): Kirby\Cms\Collection

Parameters

Name Type Default Description
... $keys mixed null any number of keys, passed as individual arguments

Return type

Kirby\Cms\Collection

Parent class

Kirby\Option\Options inherited from Kirby\Cms\Collection