LendAndRegret/node_modules/es-toolkit/dist/predicate/isEmptyObject.js
2026-05-02 17:27:43 +08:00

12 lines
299 B
JavaScript

'use strict';
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const isPlainObject = require('./isPlainObject.js');
function isEmptyObject(value) {
return isPlainObject.isPlainObject(value) && Object.keys(value).length === 0;
}
exports.isEmptyObject = isEmptyObject;