method URLSearchParams.getAll Private URLSearchParams.getAll(name: string): string[] Returns all the values associated with a given search parameter as an array. ```ts searchParams.getAll('name'); ``` Parameters name: string Return Type string[]