summaryrefslogtreecommitdiff
path: root/cli/dts/lib.esnext.object.d.ts
blob: ed9d0ee30f9326c06a9276a7e7be6c0e8be34906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

/// <reference no-default-lib="true"/>

interface ObjectConstructor {
  /**
   * Determines whether an object has a property with the specified name.
   * @param o The target object.
   * @param v A property name.
   */
  hasOwn(o: object, v: PropertyKey): boolean;
}