Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/unitest/matcher/utils.ts>has

🃏 Deno-first universal unit testing framework
Latest
function has
import { has } from "https://deno.land/x/unitest@v1.0.0-beta.82/matcher/utils.ts";

check field is exist or not

Parameters

key: PropertyKey
object: object

Returns

boolean