ant-design-vue/components/_util/isValid.ts

5 lines
134 B
TypeScript

const isValid = (value: any): boolean => {
return value !== undefined && value !== null && value !== '';
};
export default isValid;