UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

12 lines (7 loc) 299 B
'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;