Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>propEq

Faster and smaller alternative to Ramda
Go to Latest
function propEq
import { propEq } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Type Parameters

K extends string | number

Parameters

valueToMatch: any
propToFind: K
obj: Record<K, any>

Returns

boolean

Type Parameters

K extends string | number

Parameters

valueToMatch: any
propToFind: K

Returns

(obj: Record<K, any>) => boolean

Parameters

valueToMatch: any

Returns

{ <K extends string | number>(propToFind: K, obj: Record<K, any>): boolean; <K extends string | number>(propToFind: K): (obj: Record<K, any>) => boolean; }