URLSearchParams
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2665
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new URLSearchParams(
init?):URLSearchParams
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2666
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2674
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2730
Returns
Section titled “Returns”IterableIterator<[string, string]>
append()
Section titled “append()”append(
name,value):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2680
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2686
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2714
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2719
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2692
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2698
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2704
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2716
Returns
Section titled “Returns”IterableIterator<string>
set(
name,value):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2710
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2712
Returns
Section titled “Returns”void
toString()
Section titled “toString()”toString():
string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2729
Returns
Section titled “Returns”string
values()
Section titled “values()”values():
IterableIterator<string>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2718
Returns
Section titled “Returns”IterableIterator<string>