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:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user