Skip to content

isFolder

Checks if the given file is a folder.

Import:

import { isFolder } from '@mnaoumov/obsidian-lib/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.