Skip to content

ArgumentList

A list of arguments to be passed to a function, constructor, enum, and so forth. Includes parenthesis when arguments are passed, otherwise returns an empty string.

import { ArgumentList } from "@alloy-js/java";
<ArgumentList args={Children[]} omitParensWhenEmpty />

Props

argsoptionalChildren[]
omitParensWhenEmptyoptionalboolean