mirror of
https://github.com/modrinth/code.git
synced 2026-08-26 09:34:50 +00:00
Migrate to Turborepo (#1251)
This commit is contained in:
@@ -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