UNPKG

camunda-modeler

Version:

Camunda Modeler for BPMN, DMN and CMMN, based on bpmn.io

12 lines (7 loc) 181 B
'use strict'; var defaultPath = '[unsaved]'; function isUnsaved(file) { return !file || file.path === defaultPath; } isUnsaved.PATH = defaultPath; module.exports = isUnsaved;