isNote
Checks if the given file is a note.
Import:
import { isNote } from 'obsidian-dev-utils/obsidian/file-system';Signature:
function isNote(pathOrFile: PathOrAbstractFile | null): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
pathOrFile | PathOrAbstractFile | null | The path or file to check. |
Returns: boolean — A boolean indicating whether the file is a note.