URLSearchParams
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2671
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new URLSearchParams(
init?
):URLSearchParams
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2672
Parameters
Section titled “Parameters”string
| URLSearchParams
| Record
<string
, string
> | [string
, string
][]
Returns
Section titled “Returns”URLSearchParams
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get size():
number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2680
Returns
Section titled “Returns”number
Methods
Section titled “Methods”[iterator]()
Section titled “[iterator]()”[iterator]():
IterableIterator
<[string
,string
]>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2736
Returns
Section titled “Returns”IterableIterator
<[string
, string
]>
append()
Section titled “append()”append(
name
,value
):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2686
Appends a specified key/value pair as a new search parameter.
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”void
delete()
Section titled “delete()”delete(
name
):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2692
Deletes the given search parameter, and its associated value, from the list of all search parameters.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
entries()
Section titled “entries()”entries():
IterableIterator
<[string
,string
]>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2720
Returns
Section titled “Returns”IterableIterator
<[string
, string
]>
forEach()
Section titled “forEach()”forEach<
This
>(callback
,thisArg?
):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2725
Type Parameters
Section titled “Type Parameters”This
= unknown
Parameters
Section titled “Parameters”callback
Section titled “callback”(this
, value
, key
, parent
) => void
thisArg?
Section titled “thisArg?”This
Returns
Section titled “Returns”void
get(
name
):null
|string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2698
Returns the first value associated to the given search parameter.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”null
| string
getAll()
Section titled “getAll()”getAll(
name
):string
[]
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2704
Returns all the values association with a given search parameter.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
[]
has(
name
):boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2710
Returns a Boolean indicating if such a search parameter exists.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
keys()
Section titled “keys()”keys():
IterableIterator
<string
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2722
Returns
Section titled “Returns”IterableIterator
<string
>
set(
name
,value
):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2716
Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”void
sort()
Section titled “sort()”sort():
void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2718
Returns
Section titled “Returns”void
toString()
Section titled “toString()”toString():
string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2735
Returns
Section titled “Returns”string
values()
Section titled “values()”values():
IterableIterator
<string
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2724
Returns
Section titled “Returns”IterableIterator
<string
>