Packages
A spellchecker for Elixir, made with Bun and cspell
Current section
Files
Jump to
Current section
Files
priv/bun/node_modules/has-own-prop/index.d.ts
/**
Shortcut for `Object.prototype.hasOwnProperty.call(object, property)`.
@example
```
import hasOwnProp = require('has-own-prop');
hasOwnProp({}, 'hello');
//=> false
hasOwnProp([1, 2, 3], 0);
//=> true
```
*/
declare function hasOwnProp(object: unknown, key: string | number | symbol): boolean;
export = hasOwnProp;