globalsURLSearchParams()prototypeURLSearchParams.has()Version: 3.37.0On this pageURLSearchParams.has() The has() method of the URLSearchParams interface returns a boolean value that indicates whether a parameter with the specified name exists. Syntax has(name) Parameters name : The name of the parameter to find. Return value A boolean value.