hasUnpublishedChanges

Function

Returns true if site or page model has unpublished changes

  • hasUnpublishedChanges(siteOrPageModel: IModel) : any

Parameters

Parameter Type Default Notes
siteOrPageModel Required IModel

Returns

any

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