extractLinkFile
Extracts the file associated with a link.
Import:
import { extractLinkFile } from 'obsidian-dev-utils/obsidian/link';Signature:
function extractLinkFile(params: ExtractLinkFileParams): TFile | nullParameters:
| Parameter | Type | Description |
|---|---|---|
params | ExtractLinkFileParams | The parameters for extracting the link file. |
Returns: TFile | null — The file associated with the link, or null if not found.
Links to this page: