import { List, IsEmpty } from "."; /** * extracts the tail of list `L`. * If `L` is empty, resolves to the empty list `[]` * * @since 0.0.2 */ export type Tail = IsEmpty extends true ? [] : L extends readonly [any, ...infer T] ? T : L extends readonly [...any, any] ? L : L extends readonly [any?, ...infer T] ? T : []; //# sourceMappingURL=tail.d.ts.map