1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00
unleash.unleash/src/lib/util/isEmpty.ts
Ivar Conradi Østhus dc5b53fa4d
Poc: calculate etag based on query and latest revison id (#3062)
This is very much POC and WIP
2023-03-17 14:10:21 +01:00

4 lines
102 B
TypeScript

export const isEmpty = (object: Object): boolean => {
return Object.keys(object).length === 0;
};