当给定参数为 undefined 时返回 false,否则返回 true
// 检查任务对象上是否存在 "custom_property" 属性 if(gantt.defined(task.custom_property)){ // .. };
added in version 4.0