omitDeep is not filtering "statistics" alone. Rest data is getting filtered
February 27, 2020 at 11:06amomitDeep is not filtering "statistics" alone. Rest data is getting filtered
February 27, 2020 at 11:06amlet obj = {
"statistics": {}
}
When I tried on the documentation it works(filters) but in my code I am doing below (regex)
let filteredRes = _.omitDeep(body, filtersArray);
filtersArray is an array of regular expression. i did console filteredRes I get correct reg ex but final filtered data still has "statistics"