Skip to main content
Version: 2.22

AnonymousFunction 匿名函数

结构声明

interface AnonymousFunction {
"concept": "AnonymousFunction", // 产品概念
"description": string, // 匿名函数描述
"params": Array<Param>, // 输入参数列表
"body": LogicItem, // 逻辑项
"typeAnnotation": TypeAnnotation, // 类型
}

示例

简单示例

{
"concept": "AnonymousFunction",
"description": "String",
"params": [],
"body": null,
"typeAnnotation": null
}