tadam logo
Did you find an error in the text?
Select this with mouse and press
Ctrl + Enter
Xhtml.co.il Check Spelling
Orphus system

jQuery.isPlainObject()

jQuery.isPlainObject( object )

Returns: Boolean
Description: Check to see if an object is a plain object (created using "{}" or "new Object").

Arguments

jQuery.isPlainObject( object )

version added: 1.4
object
The object that will be checked to see if it's a plain object.

Example

Check an object to see if it's a plain object.
jQuery.isPlainObject({}) // true
jQuery.isPlainObject("test") // false
Was this information helpful?
   

Comments