@allma/core-sdk
Version:
Core SDK with shared utilities (logging, auth, S3 utils) for building on the Allma serverless AI orchestration platform.
13 lines • 614 B
TypeScript
/**
* A utility to check if an item is a non-array, non-null object.
*/
export declare function isObject(item: any): item is Record<string, any>;
/**
* Deeply merges two objects. The source object's properties overwrite the target's.
* Properties with `undefined` values in the source are ignored to prevent accidental overwrites.
* @param target The target object.
* @param source The source object.
* @returns A new object with the merged properties.
*/
export declare function deepMerge<T extends Record<string, any>>(target: T, source: Record<string, any>): T;
//# sourceMappingURL=objectUtils.d.ts.map