@mindfulness/utils
    Preparing search index...

    Function insertAt

    • Inserts an array of items at a given index;

      Type Parameters

      • T

      Parameters

      • arr: T[]

        The array that you want to add items to

      • items: T[]

        The array of items that you want to add

      • at: number

        The index at which you want to add the items

      Returns T[]

      • The array with the items added