Skip to content

getFileSystemType

Gets the type of a file system object.

Import:

import { getFileSystemType } from 'obsidian-dev-utils/obsidian/file-system';

Signature:

function getFileSystemType(abstractFile: TAbstractFile): FileSystemType

Parameters:

ParameterTypeDescription
abstractFileTAbstractFileThe abstract file to get the type of.

Returns: FileSystemType — The type of the abstract file.