mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
12 lines
444 B
TypeScript
12 lines
444 B
TypeScript
/**
|
|
* Returns true if the passed value is "plain" object, i.e. an object whose
|
|
* prototype is the root `Object.prototype`. This includes objects created
|
|
* using object literals, but not for instance for class instances.
|
|
*
|
|
* @param {any} value The value to inspect.
|
|
* @returns {boolean} True if the argument appears to be a plain object.
|
|
*
|
|
* @public
|
|
*/
|
|
export default function isPlainObject(value: unknown): value is object;
|