甘特图 API方法isTaskExists页面内容isTaskExists Description 检查指定任务是否存在 isTaskExists: (id: string | number) => booleanParameters id - (必填) string | number - 任务 ID Returns task - (boolean) - true,如果存在此类任务。否则,false Examplegantt.addTask({ id:10, text:"Task #5", start_date:"02-09-2023", duration:28}, "project_2");gantt.isTaskExists(10); // ->trueNeed help?Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.