Module

x/rambda/immutable.d.ts>eqProps

Faster and smaller alternative to Ramda
Go to Latest
function eqProps
import { eqProps } from "https://dotland.deno.dev/x/rambda@v9.2.0/immutable.d.ts";

It returns true if property prop in obj1 is equal to property prop in obj2 according to R.equals.

Parameters

prop: string
obj1: T
obj2: U

Returns

boolean

Type Parameters

P extends string

Returns

<T, U>(obj1: Record<P, T>, obj2: Record<P, U>) => boolean

Parameters

prop: string
obj1: T

Returns

<U>(obj2: U) => boolean