0.0.1-alpha.2 • Published 7 years ago
lens.view v0.0.1-alpha.2
lens.view
Following implementation of ramda.view
example
const helloWorld = {hello: [{place: 'singapore'}]}
const lensPath = ['hello', 0, 'place'];
const where = view(lensPath, helloWorld);
console.log(where); // 'singapore'
0.0.1-alpha.2
7 years ago
0.0.1-alpha.1
7 years ago