Closed ytxgit closed 1 year ago
isEmpty
isBooleanEmpty
getPropertyDescriptor
代码有点问题呢,在仔细看看
isEmpty 的优化是可以理解的,isBooleanEmpty 这个函数逻辑的抽象,会让人不理解,所以isBooleanEmpty不建议抽出来
isEmpty
functionisBooleanEmpty
functiongetPropertyDescriptor
conditional expression