mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
9 lines
223 B
TypeScript
9 lines
223 B
TypeScript
import { GlobalObject } from "../Types/Object";
|
|
|
|
export default class ObjectUtil {
|
|
public static isEmpty(object: GlobalObject): boolean {
|
|
// check if object is empty
|
|
return Object.keys(object).length === 0;
|
|
}
|
|
}
|