method param { String | Number | Object } value returns { Boolean } description export const isEmpty = ( value ) : boolean => { if ( value === null ) { return true ; } else if ( typeof value !== 'number' && value === '' ) { return true ; } else if ( typeof value === 'undefined' || value === undefined ) { return true ; } else if ( value !== null && typeof value === 'object' && ! Object . keys ( value ) . length ) { return true ; } else { return false ; } } ;