I have a boolean expression: equals(myStringValue, targetStringValue)
I have an array expression which might or might not be valid, depending on the boolean condition myArrayExpression
.
I want to write:
if(
equals(myStringValue, targetStringValue),
myArrayExpression,
?????
)
where ?????
is an expression that returns an empty array.
Naturally, this is an XY-problem. I definitely want to know how to do this directly, because understanding how this language works well is important to me. But if you want to know about the XY problem, it's over here: Azure ADF GetMetadata childItems if folder might not exist