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

Returns the first value associated to the given search parameter.

searchParams.get('name');

Parameters

name: string

Return Type

string | null
Back to top