Skip to main content
URLSearchParams.getAll - URL - Web documentation
method URLSearchParams.getAll
Private
URLSearchParams.getAll(name: string): string[]

Returns all the values associated with a given search parameter as an array.

searchParams.getAll('name');

Parameters

name: string

Return Type

string[]