Skip to main content
URLSearchParams.prototype.getAll - Node documentation
method URLSearchParams.prototype.getAll

Usage in Deno

import { URLSearchParams } from "node:url";
URLSearchParams.prototype.getAll(name: string): string[]

Returns the values of all name-value pairs whose name is name. If there are no such pairs, an empty array is returned.

Parameters

name: string

Return Type

string[]