Skip to main content
URLSearchParams.get - URL - Web documentation
method URLSearchParams.get
Private
URLSearchParams.get(name: string): string | null

Returns the first value associated to the given search parameter.

searchParams.get('name');

Parameters

name: string

Return Type

string | null
Back to top