1 export const isEmpty = (value: unknown) => {
2 return (
3 value === null ||
4 value === undefined ||
5 (typeof value === "string" && value.trim() === "")
6 )
7 }