Module

x/rambda/mod.ts>propSatisfies

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