Client: update named imports to default imports
This commit is contained in:
1 parent
14425dc233
commit
1637abbc88
17 files changed
+419
-249
No files matched your search
@@ -19,6 +19,10 @@ export function isEmpty (obj) {
|
||||
return true
|
||||
}
|
||||
|
||||
export function isString (value) {
|
||||
return typeof value === 'string' || value instanceof String
|
||||
}
|
||||
|
||||
export function validObject (object, ...keys) {
|
||||
return keys.reduce((a, b) => (a || {})[b], object) !== undefined
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user