Skip to content

getAbstractFile

Retrieves the TAbstractFile object for the given path or abstract file.

Import:

import { getAbstractFile } from '@mnaoumov/obsidian-lib/file-system';

Signature:

function getAbstractFile(params: GetAbstractFileParams): TAbstractFile

Parameters:

Parameter Type Description
params GetAbstractFileParams The parameters for the retrieval.

Returns: TAbstractFile — The abstract file.


Links to this page: