import type { Fn, Nullable } from "@thi.ng/api";
/**
 * Returns f(x) iff `x` is not null or undefined.
 *
 * @param f - function
 * @param x - value
 */
export declare const ifDef: <A, B>(f: Fn<A, B>, x: Nullable<A>) => B | undefined;
//# sourceMappingURL=ifdef.d.ts.map