API方法defined本页内容defined Description 当参数为 undefined 时返回 false;否则返回 true defined: (event: any) => booleanParameters event - (required) object - 要检查的对象 Returns state - (boolean) - 参数为 undefined 时返回 false,否则返回 true Example// 检查 event 对象是否定义了 "custom_property" 属性if(scheduler.defined(event.custom_property)){ // ..};Change log added in version 6.0 Need 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.