Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/unitest/matcher/utils.ts>hasPath

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

deep check field is exist or not

Parameters

path: PropertyKey[]
object: object

Returns

boolean