Skip to content

extractLinkFile

Extracts the file associated with a link.

Import:

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

Signature:

function extractLinkFile(params: ExtractLinkFileParams): TFile | null

Parameters:

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: