Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery is emptyobjec

jQuery.isEmptyObject({}); // true
jQuery.isEmptyObject({ foo: "bar" }); // false
// Remember to replace 'jQuery' with the correct alias if you're importing jquery:
import $ from 'jquery';
$.isEmptyObject({ foo: "bar" }); // false
 
PREVIOUS NEXT
Tagged: #jquery #emptyobjec
ADD COMMENT
Topic
Name
4+1 =