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