returns false if the provided argument is undefined, otherwise true
param | any | a property of an object that should be checked |
boolean | false if the provided argument is undefined, otherwise true |
// check if the "custom_property" property is defined for the task object
if(gantt.defined(task.custom_property)){
// ..
};
added in version 4.0
Back to top