Currently using a!forEach and a!isNullOrEmpty to replace all null values in an array of integers with 0, but would love to learn the most efficient way to do so. Is apply() the way to go here? A different function? Many thanks for any and all help!
Discussion posts and replies are publicly visible
The following code snippet might be helpful:
a!localVariables( local!data: { 1, null, 0, 10, null }, local!updatedData: a!update( local!data, wherecontains(tointeger(null()), local!data), 0 ), local!updatedData )