phaser/v3/typings/utils/object/IsPlainObject.d.ts
2017-01-16 22:43:07 +01:00

8 lines
347 B
TypeScript

/**
* This is a slightly modified version of jQuery.isPlainObject.
* A plain object is an object whose internal class property is [object Object].
* @method Phaser.Utils.isPlainObject
* @param {object} obj - The object to inspect.
* @return {boolean} - true if the object is plain, otherwise false.
*/
export default function (obj: any): boolean;