GetBasenameParams
Parameters for getBasename.
Import:
import type { GetBasenameParams } from 'obsidian-dev-utils/obsidian/file-system';Signature:
export interface GetBasenameParamsProperties
| Property | Type | Description |
|---|---|---|
| app | App | The Obsidian App instance. |
| pathOrFile | PathOrAbstractFile | The path or abstract file to get the base name of. |
| whenMissingTreatAs? | MissingPathTreatment | How to answer when the path resolves to nothing in the vault. |
Links to this page: