Skip to main content
Module

x/rambda/immutable.d.ts>pathEq

Faster and smaller alternative to Ramda
Go to Latest
function pathEq
import { pathEq } from "https://deno.land/x/rambda@v7.0.1/immutable.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