FunctionCallExpression
A Python function call expression.
import { FunctionCallExpression } from "@alloy-js/python";
<FunctionCallExpression args={Children[]} target={Children} />
import { FunctionCallExpression } from "@alloy-js/python/stc";
FunctionCallExpression({ args: Children[], target: Children,}).children(children)
args | optionalChildren[] |
target | Children |
Example
Section titled “Example”<FunctionCallExpression target="foo" args={["arg1", "arg2"]} />
This will generate:
foo(arg1, arg2)