feat: search test case (#277)

This commit is contained in:
Eliezer Castro
2025-08-30 11:26:46 -03:00
committed by GitHub
parent afe569a79c
commit f76a3cdaf5
12 changed files with 266 additions and 102 deletions

View File

@@ -0,0 +1,8 @@
export const parseQueryParam = (param: string | null): number[] => {
return param
? param
.split(',')
.map((p) => parseInt(p.trim()))
.filter((p) => !isNaN(p))
: [];
};