• Reduce function that pushes an object to an array, then returns the array. Mostly just for [[flattenR]] and [[uniqR]]

    Parameters

    • arr: any
    • obj: any

    Returns any