phaser/v3/typings/utils/object/IsPlainObject.d.ts

9 lines
347 B
TypeScript
Raw Normal View History

2017-01-16 21:43:07 +00:00
/**
* 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;