Skip to content

isBaseFile

Checks if the given file is a base file.

Import:

import { isBaseFile } from '@mnaoumov/obsidian-lib/file-system';

Signature:

function isBaseFile(pathOrFile: PathOrAbstractFile | null): boolean

Parameters:

Parameter Type Description
pathOrFile PathOrAbstractFile | null The path or file to check.

Returns: boolean — A boolean indicating whether the file is a base file.