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

x/rambda/mod.ts>propSatisfies

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