Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zenstackhq/zenstack
/ isEmptyObject
Function
isEmptyObject
packages/orm/src/utils/object-utils.ts:20–22 ·
view source on GitHub ↗
(x: unknown)
Source
from the content-addressed store, hash-verified
18
* Checks
if
the given value is an empty plain object.
19
*/
20
export
function
isEmptyObject(x: unknown) {
21
return
isPlainObject(x) && Object.keys(x as object).length === 0;
22
}
Callers
2
disconnectRelation
Function · 0.90
deleteRelation
Function · 0.90
Calls
1
isPlainObject
Function · 0.90
Tested by
no test coverage detected