Function replicateArrayValues

  • duplicate values in array a n number of times doubleArrayValue([1,0],1) ==> [1,1,0,0]

    Parameters

    • array: any[]
    • n: number

    Returns any[]

Generated using TypeDoc