API Reference | fast-check | Property based testing framework
    Preparing search index...

    Type Alias CloneValue<T, N, Rest>

    CloneValue: [number] extends [N]
        ? T[]
        : Rest["length"] extends N ? Rest : CloneValue<T, N, [T, ...Rest]>

    Type of the value produced by clone

    Type Parameters

    • T
    • N extends number
    • Rest extends T[] = []

    Since 2.5.0