- From: WORMSS <notifications@github.com>
- Date: Fri, 13 Jan 2023 01:24:07 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 January 2023 09:24:19 UTC
Yes, as @eligrey has pointed out, I was in the need of a 'do you have any values, yes? no?' I didn't actually care that much about the full count.. In the end I actually just did ```ts const qs = urlParams.toString(); if (qs.length) { return `?${qs}`; } return ''; `` Not quite as nice looking, but it got the job done. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/163#issuecomment-1381528334 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/163/1381528334@github.com>
Received on Friday, 13 January 2023 09:24:19 UTC