验证是否存在具有指定 ID 的任务
gantt.addTask({ id:10, text:"Task #5", start_date:"02-09-2023", duration:28 }, "project_2"); gantt.isTaskExists(10); // ->true