Evan Song abec2e48d4
Add TailwindCSS (#1252)
* Setup TailwindCSS

* Fully setup configuration

* Refactor some tailwind variables
2024-07-06 20:57:32 -07:00

8 lines
143 B
JavaScript

export const getArrayOrString = (x) => {
if (typeof x === "string" || x instanceof String) {
return [x];
} else {
return x;
}
};