111
This commit is contained in:
12
common/empty.js
Normal file
12
common/empty.js
Normal file
@@ -0,0 +1,12 @@
|
||||
function stringIsEmpty(str) {
|
||||
return str === undefined || str === null || str === ''
|
||||
}
|
||||
|
||||
function stringIsNotEmpty(str) {
|
||||
return !stringIsEmpty(str)
|
||||
}
|
||||
|
||||
export {
|
||||
stringIsEmpty,
|
||||
stringIsNotEmpty
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user