Module

x/rambda/index.d.ts>pathEq

Faster and smaller alternative to Ramda
Latest
function pathEq
import { pathEq } from "https://dotland.deno.dev/x/rambda@9.4.1/index.d.ts";

It returns true if pathToSearch of input object is equal to target value.

pathToSearch is passed to R.path, which means that it can be either a string or an array. Also equality between target and the found value is determined by R.equals.

Parameters

pathToSearch: Path
target: any
input: any

Returns

boolean

Parameters

pathToSearch: Path
target: any

Returns

(input: any) => boolean

Parameters

pathToSearch: Path

Returns

(target: any) => (input: any) => boolean