Skip to main content

$toNamespacedPath

This function converts a given path to its namespace-prefixed form using the path module.

Parameters

ParameterDescription
pathStringThe path string to be converted.

Example

<AoiClient>.addCommand({
name: "misc",
code: `
$toNamespacedPath[C:\\some\\path]
`,
});