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
If you just need to remove the null values from array then I would just to use remove(a!isnull,<array>).
But if you really have to replace then I would suggest not to use apply.