@theguild/federation-composition
Version:
Open Source Composition library for Apollo Federation
6 lines • 537 B
text/typescript
export declare function isDefined<T>(value: T | undefined | null): value is T;
export declare function ensureValue<T>(value: T | undefined | null, message: string): T;
export declare function mathMax(firstValue: number, secondValue: null | number): number;
export declare function mathMaxNullable(left: number | null | undefined, right: number | null | undefined): number | null;
export declare function nullableArrayUnion<T>(left: T[] | null | undefined, right: T[] | null | undefined): T[] | null;
//# sourceMappingURL=helpers.d.ts.map