Skip to main content

$isAbsolute

This function checks if the given path is an absolute path using the path module.

Parameters

ParameterDescription
pathStringThe path string to check for absoluteness.

Example

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