Closed franciscop closed 5 years ago
This is a very nice library. There is a pattern that I think would be awesome if it was supported. For this data definition, common in many situations:
const data = [{ a: 'b', c: 'd' }, { a: 'e', c: 'f' }];
I really like doing this:
const newData = data.map(only('a'));
I have a small library that I'm using, but was wondering if:
only
Otherwise I'll just publish it as a tiny lib, just wondering if it's possible currently.
This is a very nice library. There is a pattern that I think would be awesome if it was supported. For this data definition, common in many situations:
I really like doing this:
I have a small library that I'm using, but was wondering if:
only
.only
.Otherwise I'll just publish it as a tiny lib, just wondering if it's possible currently.