asFolder
Converts an abstract file to a folder.
Import:
import { asFolder } from 'obsidian-dev-utils/obsidian/file-system';Signature:
function asFolder(abstractFile: TAbstractFile | null): TFolderParameters:
| Parameter | Type | Description |
|---|---|---|
abstractFile | TAbstractFile | null | The abstract file to convert. |
Returns: TFolder — The folder.