• Flatten a collection of vectors to a single array.

    Parameters

    Returns number[]

    Single array with all values

    Example

    flatten([ [1, 2], [3, 4], [5, 6] ]); // Returns [1, 2, 3, 4, 5, 6]
    

Generated using TypeDoc