Mmap
Bun

method

url.URLSearchParamsIterator.map

map<U>(
callbackfn: (value: T, index: number) => U
): IteratorObject<U, undefined, unknown>;

Creates an iterator whose values are the result of applying the callback to the values from this iterator.

@param callbackfn

A function that accepts up to two arguments to be used to transform values from the underlying iterator.