@chip/cstd - v0.0.8
    Preparing search index...

    Function safeConcat

    • Safely concatenate an array with an array of items which may be a mix of undefined and defined values. This function returns a new array and does not mutate the original.

      Type Parameters

      • T

      Parameters

      • array: T[]
      • items: (T | null | undefined)[]

      Returns T[]