UNPKG

@prelude/cmp

Version:

Cmp module.

9 lines (8 loc) 293 B
import { type Cmp } from './prelude.js'; /** * Compares arrays element-wise up to common length. * * If all are equal then returns comparision result on array lengths. */ export declare const array: <T>(cmp: Cmp<T>) => (as: T[], bs: T[]) => import("./prelude.js").R; export default array;