Skip to content

Doc.isClean method

Doc › isClean

Unofficial

Returns whether the document is currently clean.

Signature:

isClean(generation?: number | undefined): boolean

Parameters:

Parameter Type Description
generation? number | undefined Optional generation value from changeGeneration.

Returns: booleanWhether the document is clean.