@hat-open/util
    Preparing search index...

    Function _insert

    • Insert value into array on specified index

      Type Parameters

      • T

      Parameters

      • idx: number
      • val: T
      • arr: T[]

      Returns T[]