You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
515 B
JavaScript
20 lines
515 B
JavaScript
export default {
|
|
install(Vue, options) {
|
|
Vue.prototype.$isBlank = function (value) {
|
|
if (value === undefined || value === null || value === '') {
|
|
return true;
|
|
} else {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
Vue.prototype.$isNotBlank = function (value) {
|
|
if (value !== undefined && value !== null && value !== '') {
|
|
return true;
|
|
} else {
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
}
|