@mindfulness/utils
    Preparing search index...

    Function insertAfter

    • Concatenates an array into another array 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

      • item: T

        The item that you want to add the array after

      Returns T[]

      • The array with the items added