Skip to content
utils
Search
K
Main Navigation
Guide
Linting
CSS
API
Lint rules
Coverage
Appearance
Menu
Return to top
On this page
Paths
Paths: joining URL segments.
Export
What it does
joinPath
Joins URL path segments with
/
, ignoring empty segments and collapsing repeated slashes, except the
//
of a protocol.