%dw 2.0
import * from dw::util::Tree
output application/json
---
{
   a: [1,2, {name: ["", true], test: 213}, "123"] filterArrayLeafs ((value, path) -> !(value is Null or value is String)),
   b: null filterArrayLeafs ((value, path) -> !(value is Null or value is String))
}