import { IModel , includes } from "@esri/hub-common" ; import { UNPUBLISHED_CHANGES_KW } from "./unpublished-changes-kw" ; param siteOrPageModel export function hasUnpublishedChanges ( siteOrPageModel ) { return includes ( siteOrPageModel . item . typeKeywords , UNPUBLISHED_CHANGES_KW ) ; }