Skip to content

nsuite v2.2.1


nsuite / joinPath

Function: joinPath() ​

joinPath(...args): string

Defined in: UtilsPath.ts:49

Joins multiple path segments into a single path.

Parameters ​

args ​

...string[]

The path segments to join.

Returns ​

string

The joined path.

Example ​

ts
import { joinPath } from "nsuite";
const targetPath = joinPath("path", "to", "file.txt");

Released under the Apache-2.0 License.