sme typescripty formatting changes

This commit is contained in:
gingervitis
2020-10-28 00:53:24 -07:00
parent f802c1a073
commit 87d69e1665
6 changed files with 372 additions and 315 deletions

View File

@@ -11,4 +11,9 @@ export function formatIPAddress(ipAddress: string): string {
}
return ip;
}
}
// check if obj is {}
export function isEmptyObject(obj) {
return Object.keys(obj).length === 0;
}