getAbstractFileOrNull
Retrieves an abstract file or null based on the provided path or abstract file.
Import:
import { getAbstractFileOrNull } from '@mnaoumov/obsidian-lib/file-system';Signature:
function getAbstractFileOrNull(params: GetAbstractFileOrNullParams): TAbstractFile | nullParameters:
| Parameter | Type | Description |
|---|---|---|
params |
GetAbstractFileOrNullParams | The parameters for the retrieval. |
Returns: TAbstractFile | null — The abstract file if found, otherwise null.
Links to this page: