splitSubpath
Splits a link into its link path and subpath.
Import:
import { splitSubpath } from 'obsidian-dev-utils/obsidian/link';Signature:
function splitSubpath(link: string): SplitSubpathResultParameters:
| Parameter | Type | Description |
|---|---|---|
link | string | The link to split. |
Returns: SplitSubpathResult — An object containing the link path and subpath.