function makeURLSearchParams

declare function makeURLSearchParams(options?: Record<string, unknown>): URLSearchParams$1;

Creates and populates an URLSearchParams instance from an object, stripping out null and undefined values, while also coercing non-strings to strings.

Returns: A populated URLSearchParams instance

Parameters

optional
options?: Record<string, unknown>
The options to use