Checks if the given file is a folder.
Import:
import { isFolder } from 'obsidian-dev-utils/obsidian/file-system';
Signature:
function isFolder(file: unknown): boolean
Parameters:
| Parameter | Type | Description |
|---|
file | unknown | The file to check. |
Returns: boolean — true if the file is a folder, false otherwise.