Skip to content

isFrontmatterChange

Checks if a file change is a frontmatter change.

Import:

import { isFrontmatterChange } from 'obsidian-dev-utils/obsidian/file-change';

Signature:

function isFrontmatterChange(fileChange: FileChange): boolean

Parameters:

ParameterTypeDescription
fileChangeFileChangeThe file change to check.

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