Skip to main content
method URLSearchParams.prototype.get
URLSearchParams.prototype.get(name: string): string | null
Deprecated

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.

Back to top