You've already forked AstralRinth
forked from didirus/AstralRinth
Migrate to Turborepo (#1251)
This commit is contained in:
7
apps/frontend/src/composables/query.js
Normal file
7
apps/frontend/src/composables/query.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export const getArrayOrString = (x) => {
|
||||
if (typeof x === 'string' || x instanceof String) {
|
||||
return [x]
|
||||
} else {
|
||||
return x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user