Skip to main content
Module

x/deno/js/url_search_params.ts>URLSearchParams#getAll

A modern runtime for JavaScript and TypeScript.
Go to Latest
method URLSearchParams.prototype.getAll
import { URLSearchParams } from "https://deno.land/x/deno@v0.1.12/js/url_search_params.ts";

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

  searchParams.getAll('name');

Parameters

name: string

Returns

string[]