Method |
Description |
|
aggregate ( callable $function ) : mixed |
Aggregates the values with the supplied function. |
|
all ( callable $function = null ) : boolean |
Returns a boolean of if all the values evaluate to true. |
|
any ( callable $function = null ) : boolean |
Returns a boolean of if any of the values evaluate to true. |
|
average ( callable $function = null ) : integer | double | null |
Returns the average of the values. |
|
count ( ) : integer |
Returns the amount of the values. |
|
implode ( string $delimiter, callable $function = null ) : string |
Returns a string of all the values concatenated by the delimiter. |
|
isEmpty ( ) : boolean |
Returns whether the traversable contains no elements. |
|
maximum ( callable $function = null ) : mixed |
Returns the maximum value. |
|
minimum ( callable $function = null ) : mixed |
Returns the maximum value. |
|
sum ( callable $function = null ) : integer | double | null |
Returns the sum of the values. |
|