mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
Move server directory outside of frontend src
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export const splitNumberString = (string?: string, delimiter = ',') => {
|
||||
if (!string) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return string.split(delimiter).map((s: string) => {
|
||||
return Number(s);
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user