Skip to main content
Module

x/ramda/mod.ts>propOr

:ram: Practical functional Javascript
Latest
variable propOr
import { propOr } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Return the specified property of the given non-null object if the property is present and it's value is not null, undefined or NaN.

Otherwise the first argument is returned.