$user->indexOf()
Returns the position / index in the collection
$user->indexOf(Kirby\Cms\Users|null $collection = null): int|false
Parameters
Name | Type | Default |
---|---|---|
$collection | Kirby\Cms\Users ornull |
null
|
Return types
int
orfalse