Skip to main content
Module

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

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

Returns the first value associated to the given search parameter.

  searchParams.get('name');

Parameters

name: string

Returns

string | null