UNPKG

701 BTypeScriptView Raw
1/**
2 * Checks if `value` is a plain object, that is, an object created by the
3 * `Object` constructor or one with a `[[Prototype]]` of `null`.
4 *
5 * @static
6 * @memberOf _
7 * @since 0.8.0
8 * @category Lang
9 * @param {*} value The value to check.
10 * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
11 * @example
12 *
13 * function Foo() {
14 * this.a = 1;
15 * }
16 *
17 * _.isPlainObject(new Foo);
18 * // => false
19 *
20 * _.isPlainObject([1, 2, 3]);
21 * // => false
22 *
23 * _.isPlainObject({ 'x': 0, 'y': 0 });
24 * // => true
25 *
26 * _.isPlainObject(Object.create(null));
27 * // => true
28 */
29export declare function isPlainObject(value: any): boolean;
30//# sourceMappingURL=lodash.merge.d.ts.map
\No newline at end of file