summaryrefslogtreecommitdiff
path: root/cli/dts/lib.esnext.object.d.ts
blob: 4140f93346564b410ebbfacbde3eb9b0dbb389dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2018-2021 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;
}