I have a js object like
var storage = [
1:{"index":1, "label": abc, "value": 33},
2:{"index":2, "label": def, "value": 43},
etc.
];
so, now i need to extract a given inner object given a "label" value
i find working:
R.filter( R.propEq( "label", labelname ), storage )
but find() isn't working:
R.find( R.propEq( 'label', labelname ))( storage )
can anybody enlighten me about this?