Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/immutable.d.ts>has

Faster and smaller alternative to Ramda
Latest
function has
import { has } from "https://deno.land/x/rambda@9.4.1/immutable.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