checks whether the specified task is summary
task | Task | the object of a task |
boolean | true, if the task is summary. Otherwise, false |
Available only in PRO Edition
const task = gantt.getTask(10);
gantt.isSummaryTask(task); // ->false
The method works only in the PRO version, since the possibility to specify the type of a task is available in that version only. Otherwise, the method will return false.