export default function empty(data: any) { if (!data || !data === null || !data === undefined) { return true; } return false; }