import { objectHasOwn } from "https://dotland.deno.dev/x/scaffold@0.3.0/src/deps/npm.ts";
A strongly-typed version of Object.hasOwn()
.
Returns a boolean indicating whether the given object has the given property as its own property.
Parameters
object: ObjectType
key: Key
Returns
object is (ObjectType & Record<Key, unknown>)