asArrayOfFolders
Converts an array of abstract files to an array of folders.
Import:
import { asArrayOfFolders } from 'obsidian-dev-utils/obsidian/file-system';Signature:
function asArrayOfFolders(abstractFiles: TAbstractFile[]): TFolder[]Parameters:
| Parameter | Type | Description |
|---|---|---|
abstractFiles | TAbstractFile[] | The abstract files to convert. |
Returns: TFolder[] — The array of folders.