updeep-remeda/lib/util/isEmpty.js

6 lines
92 B
JavaScript
Raw Normal View History

function isEmpty(object) {
return !Object.keys(object).length;
}
export default isEmpty;