0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00
denoland-deno/cli/dts/lib.esnext.object.d.ts
2021-08-10 10:33:08 +02:00

12 lines
344 B
TypeScript
Vendored

// 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;
}