Can LoDash's _.filter
be utilized in a scenario where you want to retrieve values based on the presence of a specific string within the keys? For instance, consider the following data:
Mydata{
"banana" : "1"
}
If I aim to extract values containing "ana", how can this be achieved using LoDash? While most resources focus on searching element values, I am interested in filtering based on keys.