lens.view
v0.0.1-alpha.2
Published
view(lens, data)
Downloads
1
Readme
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'