1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli/dts/lib.esnext.object.d.ts

13 lines
344 B
TypeScript
Raw Normal View History

2022-01-20 02:10:16 -05:00
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
2021-08-10 04:33:08 -04:00
/// <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;
}