Skip to main content
Module

x/rambda/source/lensEq.js

Faster and smaller alternative to Ramda
Go to Latest
File
import {curry} from './curry'import {equals} from './equals'import {view} from './view'
function lensEqFn(lens, target, input) { return equals(view(lens, input), target)}
export const lensEq = curry(lensEqFn)