check object is empty angular code example
Example: javascript check if object is empty
function isObjectEmpty(obj) {
return Object.keys(obj).length === 0;
}
function isObjectEmpty(obj) {
return Object.keys(obj).length === 0;
}