StudE-Frontend/src/components/IsStringEmpty/IsStringEmpty.tsx

3 lines
113 B
TypeScript

export default function isStringEmpty(str: string) {
return str === "" || str === null || str === undefined;
}