UNPKG

@prelude/cmp

Version:

Cmp module.

5 lines (4 loc) 292 B
import { type Cmp, type R } from './prelude.js'; /** @returns composed non-nullable comparision function as null-handling function, `null` values are considered lower than non-`null` values. */ declare const nullOr: <T>(cmp: Cmp<T>) => (a: T | null, b: T | null) => R; export default nullOr;