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

4 lines
83 B
TypeScript
Raw Normal View History

2021-12-19 23:15:27 +08:00
export default function (val: any) {
return val !== undefined && val !== null;
}