source: node_modules/es-toolkit/dist/predicate/isEmptyObject.d.ts@ a762898

Last change on this file since a762898 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 477 bytes
Line 
1/**
2 * Checks if a value is an empty plain object.
3 *
4 * @param {unknown} value - The value to check.
5 * @returns {value is Record<PropertyKey, never>} - True if the value is an empty plain object, otherwise false.
6 *
7 * @example
8 * isEmptyObject({}); // true
9 * isEmptyObject({ a: 1 }); // false
10 * isEmptyObject([]); // false
11 * isEmptyObject(null); // false
12 */
13declare function isEmptyObject(value: unknown): value is Record<PropertyKey, never>;
14
15export { isEmptyObject };
Note: See TracBrowser for help on using the repository browser.