Skip to content

relative

Returns the relative path from one path to another.

Import:

import { relative } from 'obsidian-dev-utils/path';

Signature:

const relative: (this: void, from: string, to: string) => string

Type: (this: void, from: string, to: string) => string


Links to this page: