Skip to content

Doc.isClean method

Doc › isClean

Unofficial

Returns whether the document is currently clean.

Signature:

isClean(generation?: number): boolean

Parameters:

ParameterTypeDescription
generation?numberOptional generation value from changeGeneration.

Returns: boolean — Whether the document is clean.