UNPKG

typescript-monads

Version:
6 lines 282 B
import { Maybe } from './maybe'; import { IMaybe } from './maybe.interface'; export declare function maybe<T>(value?: T | null): Maybe<T>; export declare function none<T>(): IMaybe<T>; export declare function some<T>(value: T): IMaybe<T>; //# sourceMappingURL=maybe.factory.d.ts.map