@brizy/ui
Version:
React elements in Brizy style
7 lines (6 loc) • 362 B
TypeScript
export type MValue<A> = A | undefined;
export type Nullish = undefined | null;
export type MNullish<T> = T | Nullish;
export declare const isNullish: (v: unknown) => v is Nullish;
export declare function mApply<T, R>(f: (v: T) => MValue<R>, v: MNullish<T>): MValue<R>;
export declare const fromString: (x0: import("../MVal").MVal<string>) => string | undefined;