* use named exports instead of default exports * fix tests Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
4 lines
128 B
TypeScript
4 lines
128 B
TypeScript
export function isEmptyObject(value = {}): boolean {
|
|
return Object.keys(value).length === 0 && value.constructor === Object
|
|
}
|