Skip to content

API DocumentationDocs


API Documentation / stringifyQuery

Function: stringifyQuery()

stringifyQuery(query): string

Internal

Stringifies a LocationQueryRaw object. Like URLSearchParams, it doesn't prepend a ?

Parameters

query: LocationQueryRaw

query object to stringify

Returns

string

string version of the query without the leading ?

Released under the MIT License.