Skip to content

extractReferenceFile

Extracts the file associated with a link.

Import:

import { extractReferenceFile } from '@mnaoumov/obsidian-lib/link';

Signature:

function extractReferenceFile(params: ExtractReferenceFileParams): TFile | null

Parameters:

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: