Skip to content

GetBasenameParams

Parameters for getBasename.

Import:

import type { GetBasenameParams } from 'obsidian-dev-utils/obsidian/file-system';

Signature:

export interface GetBasenameParams

Properties

PropertyTypeDescription
appAppThe Obsidian App instance.
pathOrFilePathOrAbstractFileThe path or abstract file to get the base name of.
whenMissingTreatAs?MissingPathTreatmentHow to answer when the path resolves to nothing in the vault.

Links to this page: