UNPKG

537 BTypeScriptView Raw
1export declare const hasOwnProperty: (v: PropertyKey) => boolean;
2export declare function objectType(object: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "null" | "array";
3/**
4Recursively copy a value.
5
6@param source - should be a JavaScript primitive, Array, Date, or (plain old) Object.
7@returns copy of source where every Array and Object have been recursively
8 reconstructed from their constituent elements
9*/
10export declare function clone<T extends any>(source: T): T;
11
\No newline at end of file