export const isNil = (value: any) => { if (value === undefined || value === null) return true; return false; };