UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

4 lines (3 loc) 214 B
import { MonadType } from "./main"; export declare function getValueOr<T>(alt: T, candidate: MonadType<T> | undefined): T; export declare function getValueOr<T>(alt: T): (candidate: MonadType<T> | undefined) => T;