Iterator
Iterator copied to clipboard
The Hoa\Iterator library.
_Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then._ Dependabot has...
Dependabot can't resolve your PHP dependency files. As a result, Dependabot couldn't update your dependencies. The error Dependabot encountered was: ``` Your requirements could not be resolved to an installable...
For instance: ```php $any = (new Iterator\Map($data)).any(function ($item) { return 0 === $item % 2; }) ``` instead of: ```php $any = false; foreach ($data as $datum) { if (0...