SP.Workflow.WorkflowTemplate.isDeclarative property (sp.js)
Gets a value that specifies whether the workflow template represents a declarative workflow.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value =SP.Workflow.WorkflowTemplate.get_isDeclarative()
Return value
Type: Boolean