Namespace: array

fabric.util.array

Source:

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
Source:
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
Source:
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
Source:
Returns:
Type
*