hasUnpublishedChanges

Function

Returns true if site or page model has unpublished changes

  • hasUnpublishedChanges(siteOrPageModel: IModel) : boolean

Parameters

Parameter Type Default Notes
siteOrPageModel Required IModel

Returns

boolean

Function defined in packages/sites/src/drafts/has-unpublished-changes.ts:8