UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

2 lines (1 loc) 92 B
export declare function isSome<A = any>(x?: A): x is NonNullable<Exclude<A, "" | {} | []>>;