Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/baidu/amis
/ assert
Function
assert
packages/amis-formula/src/parser.ts:71–76 ·
view source on GitHub ↗
(result: any)
Source
from the content-addressed store, hash-verified
69
}
70
71
function
assert(result: any) {
72
if
(!result) {
73
fatal();
74
}
75
return
result;
76
}
77
78
function
expression(): ASTNodeOrNull {
79
return
assignmentExpression();
Callers
15
collectFilterArg
Function · 0.85
complexExpression
Function · 0.85
arrowFunction
Function · 0.85
conditionalExpression
Function · 0.85
binaryExpressionParser
Function · 0.85
unaryExpression
Function · 0.85
postfixExpression
Function · 0.85
objectTemplateKey
Function · 0.85
template
Function · 0.85
functionCall
Function · 0.85
arrayLiteral
Function · 0.85
expressionList
Function · 0.85
Calls
1
fatal
Function · 0.85
Tested by
no test coverage detected