URLSearchParams.prototype.get - Node documentation
method URLSearchParams.prototype.get

Usage in Deno

import { URLSearchParams } from "node:url";
URLSearchParams.prototype.get(name: string): string | null

Returns the value of the first name-value pair whose name is name. If there are no such pairs, null is returned.

Parameters

name: string

Return Type

string | null

or null if there is no name-value pair with the given name.