• Copies an array at key, filtering the items that match the type.

    Type Parameters

    • FromKey extends string | number | symbol

    • From extends Partial<Record<FromKey, any[]>>

    • ToKey extends string | number | symbol

    • To extends Partial<Record<ToKey, any[]>>

    Parameters

    • type: string

      Type expected to match typeof on the items.

    • from: From

      Source object.

    • to: To

      Destination object.

    • fromKey: FromKey

      Key of the array property in source object.

    • toKey: ToKey

      Key of the array property in destination object.

    Returns void

Generated using TypeDoc