Methods
(static) invoke(array, method) → {Array}
Invokes method on all items in a given array
Parameters:
Name | Type | Description |
---|---|---|
array |
Array | Array to iterate over |
method |
String | Name of a method to invoke |
Returns:
- Type
- Array
(static) max(array, byProperty) → {*}
Finds maximum value in array (not necessarily "first" one)
Parameters:
Name | Type | Description |
---|---|---|
array |
Array | Array to iterate over |
byProperty |
String |
Returns:
- Type
- *
(static) min(array, byProperty) → {*}
Finds minimum value in array (not necessarily "first" one)
Parameters:
Name | Type | Description |
---|---|---|
array |
Array | Array to iterate over |
byProperty |
String |
Returns:
- Type
- *