2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-10 04:42:25 +03:00

chore: fix lint

This commit is contained in:
pimlie
2019-02-11 11:58:16 +01:00
parent 6741897369
commit a4ca39bfef
+4 -8
View File
@@ -1,20 +1,16 @@
export function isType(arg, type) {
return typeof arg === type
}
export function isUndefined(arg) {
return isType(arg, 'undefined')
return typeof arg === 'undefined'
}
export function isObject(arg) {
return isType(arg, 'object')
return typeof arg === 'object'
}
export function isFunction(arg) {
return isType(arg, 'function')
return typeof arg === 'function'
}
export function isString(arg) {
return isType(arg, 'string')
return typeof arg === 'string'
}