method URLSearchParams.has
Jump to headingURLSearchParams.has(name: string,value?: string,): boolean
Returns a boolean value indicating if a given parameter, or parameter and value pair, exists.
searchParams.has('name');
searchParams.has('name', 'value');
Parameters Jump to heading
Jump to headingname: string
optional
Jump to headingvalue: string
Return Type Jump to heading
boolean