We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
err := engine.RegFunction("if", 1, func(ast ...engine.ExprAST) float64 { a := engine.ExprASTResult(ast[0]) }
比如这样获取时,a 变量可以是字符串吗?
The text was updated successfully, but these errors were encountered:
a := engine.ExprASTResult(ast[0]) 比如这样获取时,a 变量可以是字符串吗?
a := engine.ExprASTResult(ast[0])
内部计算使用的是 func(ast ...engine.ExprAST) float64 函数,暂不支持返回字符串
func(ast ...engine.ExprAST) float64
Sorry, something went wrong.
No branches or pull requests
比如这样获取时,a 变量可以是字符串吗?
The text was updated successfully, but these errors were encountered: