mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 19:18:07 +08:00
5 lines
134 B
TypeScript
5 lines
134 B
TypeScript
const isValid = (value: any): boolean => {
|
|
return value !== undefined && value !== null && value !== '';
|
|
};
|
|
export default isValid;
|