Skip to content

Doc.isClean method

Doc › isClean

Unofficial

Returns whether the document is currently clean.

Signature:

isClean(generation?: number | undefined): boolean

Parameters:

ParameterTypeDescription
generation?number | undefinedOptional generation value from changeGeneration.

Returns: booleanWhether the document is clean.