lithium\util\Collection::valid()
Checks if current position is valid.
Returns
booleantrue
if valid, false
otherwise.
Source
public function valid() {
return key($this->_data) !== null;
}
Checks if current position is valid.
true
if valid, false
otherwise.
public function valid() {
return key($this->_data) !== null;
}