You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
421 B

/**
* <zh/> 判断节点/组合是否收起
*
* <en/> Determine whether the node/combo is collapsed
* @param nodeLike - <zh/>节点/组合数据 | <en/>Node/Combo data
* @returns <zh/>是否收起 | <en/>Whether it is collapsed
*/
export function isCollapsed(nodeLike) {
var _a;
return !!((_a = nodeLike.style) === null || _a === void 0 ? void 0 : _a.collapsed);
}
//# sourceMappingURL=collapsibility.js.map