mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
6 lines
130 B
TypeScript
6 lines
130 B
TypeScript
const isValid = (value: unknown) => {
|
|
return value !== undefined && value !== null && value !== '';
|
|
};
|
|
|
|
export default isValid;
|