UNPKG

sorting-lib

Version:

A library that makes sorting easier by introducing `Comparator`

6 lines (5 loc) 260 B
export declare type Nil = null | undefined; export declare function isNotNil<T>(t: T | Nil): t is T; export declare function isNil<T>(t: T | Nil): t is Nil; export declare function isTruthy<T>(t: T): boolean; export declare function isFalsy<T>(t: T): boolean;