Module

x/rambda/immutable.d.ts>eqProps

Faster and smaller alternative to Ramda
Latest
function eqProps
import { eqProps } from "https://dotland.deno.dev/x/rambda@9.4.1/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