blaze-2d
Version:
A fast and simple WebGL 2 2D game engine written in TypeScript
15 lines (14 loc) • 425 B
TypeScript
/**
* Simple object check.
*
* @param item
* @returns Wether or not the `item` is an object
*/
export declare function isObject(item: any): boolean;
/**
* Deep merge two objects. Circular reference will cause infinite recursion.
*
* @param target The object to merge `...sources` into
* @param ...sources The sources to merge into `target`
*/
export declare function mergeDeep(target: any, ...sources: any[]): any;