rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
8 lines • 373 B
TypeScript
/**
* @public
* Returns true if both `A` and `B` are both null, undefined or 'defined'. Defined is not null and not undefined.
* @remarks
* See {@link equalityAreConsistentlyDefined}.
*/
export declare function equalityAreConsistentlyDefined<T>(a: T | undefined | null, b: T | undefined | null): boolean;
//# sourceMappingURL=equality-are-consistently-defined.d.ts.map