Skip to content

nsuite v2.2.1


nsuite / resolvePath

Function: resolvePath()

resolvePath(...args): string

Defined in: UtilsPath.ts:77

Resolves multiple path segments to an absolute path.

Parameters

args

...string[]

The path segments to resolve.

Returns

string

The resolved absolute path.

Example

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

Released under the Apache-2.0 License.