( ...elements: T )
| 188 | * @since 2.0.0 |
| 189 | */ |
| 190 | export const tuple = <T extends ReadonlyArray<Equivalence<any>>>( |
| 191 | ...elements: T |
| 192 | ): Equivalence<Readonly<{ [I in keyof T]: [T[I]] extends [Equivalence<infer A>] ? A : never }>> => all(elements) as any |
| 193 | |
| 194 | /** |
| 195 | * Creates a new `Equivalence` for an array of values based on a given `Equivalence` for the elements of the array. |
nothing calls this directly
no test coverage detected
searching dependent graphs…