Module

x/rambda/rambda.js>has

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

It returns true if obj has property prop.

Parameters

prop: string
obj: T

Returns

boolean

Parameters

prop: string

Returns

<T>(obj: T) => boolean