Iter v1.3.0 Release Notes
Release Date: 2015-10-21 // over 8 years ago-
- ➕ Added
Iterator iter\product(...$iterables)
:
Returns the cartesian product iterator of the passed iterators. (#25) - ➕ Added
bool iter\isIterable(mixed $value)
:
Returns whether the value is an array or Traversable. - ➕ Added
$key
parameter to the callback ofreduce()
andreductions()
. (#28) - ➕ Added support for
<=>
tofn\operator()
. It is also supported on PHP versions that do not natively provide a<=>
operator. - All functions now validate that inputs are iterables.
- ➕ Added