mirror of
https://github.com/rowyio/rowy.git
synced 2026-07-13 13:59:05 +02:00
5 lines
155 B
TypeScript
5 lines
155 B
TypeScript
export const sanitiseValue = (value: any) => {
|
|
if (value === undefined || value === null || value === "") return [];
|
|
else return value as string[];
|
|
};
|