@chickenjdk/common
    Preparing search index...

    Type Alias ArrayClone<T, Ignore, N>

    ArrayClone: IsSpecificNumber<T["length"]> extends true
        ? T["length"] extends 0
            ? N
            : T extends [infer item, ...(infer rest)]
                ? ArrayClone<rest, Ignore, [...N, Expand<item, Ignore, false>]>
                : never
        : Expand<T[number], Ignore, false>[]

    Duplicate an array type, expanding all of its elements, except those that match the Ignore type. Please use Expand instead of this type directly.

    Type Parameters

    • T extends any[]
    • Ignore = never
    • N extends any[] = []