dist/vuex-orm.esm.js
function isEmpty(data) {
    if (Array.isArray(data)) {
        return data.length === 0;
    }
    return Object.keys(data).length === 0;
}
function isEmpty(data) {
    if (Array.isArray(data)) {
        return data.length === 0;
    }
    return Object.keys(data).length === 0;
}
function isEmpty ( data ) { if ( Array . isArray ( data ) ) { return data . length === 0 ; } return Object . keys ( data ) . length === 0 ; }
Check if the given array or object is empty.
Check if the given array or object is empty .