Api
MethodEvaluatecomplexexpression
OpenAPI > Method > evaluateComplexExpression
OpenAPI.Method.evaluateComplexExpression() method
解析并计算复杂表达式的函数
Signature:
static evaluateComplexExpression(expression: string, operators: any[]): any;
Parameters
Parameter | Type | Description |
---|---|---|
expression | string | 要解析的表达式 |
operators | any[] |
any
{operators} 正则表达式