Skip to main content
Module

x/ramda/mod.ts>whereEq

:ram: Practical functional Javascript
Latest
variable whereEq
import { whereEq } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Takes a spec object and a test object; returns true if the test satisfies the spec, false otherwise. An object satisfies the spec if, for each of the spec's own properties, accessing that property of the object gives the same value (in R.equals terms) as accessing that property of the spec.

whereEq is a specialization of where.