interface IsEmpty { (v: any): boolean } const isEmpty: IsEmpty = (v) => typeof v === 'undefined' || v === null export default isEmpty