Module

x/rambda/index.d.ts>has

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

It returns true if obj has property prop.

Parameters

prop: string
obj: T

Returns

boolean

Parameters

prop: string

Returns

<T>(obj: T) => boolean