Module

x/rambda/rambda.js>propSatisfies

Faster and smaller alternative to Ramda
Latest
function propSatisfies
import { propSatisfies } from "https://dotland.deno.dev/x/rambda@9.4.1/rambda.js";

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