jquery empty an object code example
Example: javjquery is emptyobject
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