resolvePathFromRoot
Resolves a path relative to the root folder of the project.
Import:
import { resolvePathFromRoot } from 'obsidian-dev-utils/script-utils/root';Signature:
function resolvePathFromRoot(params: ResolvePathFromRootParams): string | nullParameters:
| Parameter | Type | Description |
|---|---|---|
params | ResolvePathFromRootParams | The parameters for the function. |
Returns: string | null — The resolved absolute path.
Links to this page: