Skip to main content
Version: 2.22

IfStatement 条件分支

结构声明

interface IfStatement {
"concept": "IfStatement", // 产品概念
"test": LogicItem, // 条件表达式
"consequent": Array<LogicItem>, // then
"alternate": Array<LogicItem>, // else
}

示例

简单示例

{
"concept": "IfStatement",
"test": null,
"consequent": [],
"alternate": []
}