Skip to main content
Module

x/fae/propSatisfies.ts>propSatisfies

A functional module for Deno inspired from Ramda.
Latest
variable propSatisfies
import { propSatisfies } from "https://deno.land/x/fae@v1.1.1/propSatisfies.ts";

Returns true if the specified object property satisfies the given predicate; false otherwise.

 Fae.propSatisfies(x => x > 0, 'x', {x: 1, y: 2}); //=> true

type

PropSatisfies