@catladder/cli
Version:
Panter cli tool for cloud CI/CD and DevOps
5 lines (4 loc) • 324 B
TypeScript
export declare function notNil<TValue>(value: TValue | null | undefined): value is TValue;
export declare const ensureArrayOrNull: <T>(s: undefined | T | T[]) => T[] | null;
export declare const ensureArray: <T>(s: undefined | T | T[]) => T[];
export declare const mergeWithMergingArrays: <A, B>(obj1: A, obj2: B) => A & B;