method URLSearchParams.get Private URLSearchParams.get(name: string): string | null Returns the first value associated to the given search parameter. ```ts searchParams.get('name'); ``` Parameters name: string Return Type string | null