Skip to content

nsuite v2.2.1


nsuite / resolvePosixPath

Function: resolvePosixPath() ​

resolvePosixPath(...args): string

Defined in: UtilsPath.ts:91

Resolves multiple path segments to an absolute POSIX path.

Parameters ​

args ​

...string[]

The path segments to resolve.

Returns ​

string

The resolved absolute POSIX path.

Example ​

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

Released under the Apache-2.0 License.