$collection->valid()
Checks if the current element is valid
$collection->valid(): boolReturn type
bool
Parent class
  Kirby\Toolkit\Collection    inherited from Kirby\Toolkit\Iterator  
Checks if the current element is valid
$collection->valid(): boolbool
  Kirby\Toolkit\Collection    inherited from Kirby\Toolkit\Iterator