🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
Upgrade your v2 license now
.
$collection->has($key)
Checks if an element is present in the collection by its key
since:
Kirby 2.3.0
$key
(string)
↑
Toolkit API overview
←
$collection->groupBy($field, $caseInsensitive = true)
→
$collection->indexOf($needle)
↓
Back to Toolkit API section
Top