simplify logic statement ts:采取逻辑陈述并简化它 源码
简化逻辑陈述 采取逻辑陈述并将其简化。 用法 将简化函数应用于以下概述的一种类型。 例子 消除双重否定 import { simplify , NotStatement } from 'simplify-logic-statement-ts' const myNotStatement : NotStatment = { type : LogicalStatementType . not , statement : { LogicalStatementType . not , statement : { LogicalStatementType . statement , statement : 'statement 3' , } , } , } simplify ( myNotStatement ) // {
下载地址
用户评论