extractReferenceFile
Extracts the file associated with a link.
Import:
import { extractReferenceFile } from '@mnaoumov/obsidian-lib/link';Signature:
function extractReferenceFile(params: ExtractReferenceFileParams): TFile | nullParameters:
| Parameter | Type | Description |
|---|---|---|
params |
ExtractReferenceFileParams | 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: