@newdash/newdash
Version:
javascript/typescript utility library
10 lines (9 loc) • 296 B
TypeScript
export default castArrayLikeObject;
/**
* Casts `value` to an empty array if it's not an array like object.
*
* @private
* @param {*} value The value to inspect.
* @returns {Array|Object} Returns the cast array-like object.
*/
declare function castArrayLikeObject(value: any): any[] | any;