Is there a way to convert Output<string>[ ] ...
# typescript
b
Is there a way to convert Output<string>[] to either a single Output<string> or Input<string>?
t
You can do
pulumi.all
Copy code
const xs: pulumi.Output<string>[] = ...;
const combined = pulumi.all(xs).apply(ys => ys.join(","));
b
thx