We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa25a2a commit 503f754Copy full SHA for 503f754
1 file changed
src/store/cffstr.ts
@@ -30,17 +30,6 @@ export function useCffstr () {
30
} = useCff()
31
32
const notEmpty = (value: unknown, prop: unknown, subject: unknown) => {
33
- // based on https://www.npmjs.com/package/deep-filter example
34
- // if (Array.isArray(value)) {
35
- // return value.length > 0
36
- // } else if (typeof value === 'object' && value !== null) {
37
- // return Object.keys(value).length > 0
38
- // } else if (typeof value === 'string') {
39
40
- // } else {
41
- // return value != null
42
- // }
43
-
44
return value !== undefined
45
}
46
0 commit comments