UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

88 lines (41 loc) 921 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [pathJoin](./rc-js-util.pathjoin.md) ## pathJoin() function Joins two strings `start` and `end` with a `separator`<!-- -->. **Signature:** ```typescript export declare function pathJoin(start: string, end: string, separator?: string): string; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> start </td><td> string </td><td> </td></tr> <tr><td> end </td><td> string </td><td> </td></tr> <tr><td> separator </td><td> string </td><td> _(Optional)_ </td></tr> </tbody></table> **Returns:** string The joined path. ## Remarks See [pathJoin()](./rc-js-util.pathjoin.md)<!-- -->.