We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Check if an object is empty.
Similar: size, isEmpty.
function isEmpty(x) // x: an object
const object = require('extra-object'); var x = {a: 1, b: 2, c: 3}; object.isEmpty(x); // → false var x = {}; object.isEmpty(x); // → true