Skip to main content
Module

x/rambda/index.d.ts>propSatisfies

Faster and smaller alternative to Ramda
Latest
function propSatisfies
import { propSatisfies } from "https://deno.land/x/rambda@v9.2.0/index.d.ts";

It returns true if the object property satisfies a given predicate.

Parameters

predicate: Predicate<T>
property: string
obj: Record<string, T>

Returns

boolean

Parameters

predicate: Predicate<T>
property: string

Returns

(obj: Record<string, T>) => boolean