makeURLSearchParams

export declare function makeURLSearchParams<OptionsType extends object>(options?: Readonly<OptionsType>): import("url").URLSearchParams;
export declare function makeURLSearchParams<OptionsType extends object>(options?: Readonly<OptionsType>): import("url").URLSearchParams;
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
NameConstraintsOptionalDefaultDescription
OptionsTypeobjectNoNone
NameTypeOptionalDescription
optionsReadonly<OptionsType>YesThe options to use