Skip to content

isFrontmatterChangeWithOffsets

Checks if a file change is a frontmatter change with offsets.

Import:

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

Signature:

function isFrontmatterChangeWithOffsets(fileChange: FileChange): boolean

Parameters:

ParameterTypeDescription
fileChangeFileChangeThe file change to check.

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