# @f/has

> Safe, functional hasOwnProperty

Latest version **1.0.1** (published 2016-05-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @f/has
pnpm add @f/has
yarn add @f/has
bun add @f/has
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-05-08 |
| First published | 2016-01-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | f |

## Links

- npm: https://www.npmjs.com/package/@f/has
- Repository: https://github.com/micro-js/has
- Homepage: https://github.com/micro-js/has#readme
- Issues: https://github.com/micro-js/has/issues
- npm.io page: https://npm.io/package/@f/has

## Recent versions

- 1.0.1 (latest) — 2016-05-08
- 1.0.0 — 2016-01-07

## README

# has

[![Build status][travis-image]][travis-url]
[![Git tag][git-image]][git-url]
[![NPM version][npm-image]][npm-url]
[![Code style][standard-image]][standard-url]

Safe, functional hasOwnProperty

## Installation

    $ npm install @f/has

## Usage

```js
var has = require('@f/has')

var cache = {}

function isCached (id) {
  return has(id, cache)
}
```

## API

### has(prop, obj)

- `prop` - The property who's existence to check
- `obj` - The object on which to check the property

**Returns:** Boolean value indicating whether or not the property exists.

## License

MIT

[travis-image]: https://img.shields.io/travis/micro-js/has.svg?style=flat-square
[travis-url]: https://travis-ci.org/micro-js/has
[git-image]: https://img.shields.io/github/tag/micro-js/has.svg
[git-url]: https://github.com/micro-js/has
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat
[standard-url]: https://github.com/feross/standard
[npm-image]: https://img.shields.io/npm/v/@f/has.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@f/has

---
_Source: https://npm.io/package/@f/has · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
