toQuery
function toQuery(params): string;Defined in: src/ui/api-client.ts:92
Build a query string ("?a=1&b=2", or "" when nothing is left), skipping undefined, null
and "". Arrays are comma-joined (and skipped when empty); booleans become "true"/"false".
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
params |
Record<string, QueryValue> |
Returns
Section titled “Returns”string