5 lines
134 B
TypeScript
5 lines
134 B
TypeScript
|
const isValid = (value: any): boolean => {
|
||
|
return value !== undefined && value !== null && value !== '';
|
||
|
};
|
||
|
export default isValid;
|