UNPKG

fully-optional

Version:
5 lines 277 B
import { Optional } from './types'; export declare function bind<T, R>(value: Optional<T>, f: (value: T) => R): R | undefined; export declare function bind<T, R>(f: (value: T) => R): (value: Optional<T>) => R | undefined; export default bind; //# sourceMappingURL=bind.d.ts.map