@odczynflnpm/perferendis-neque-nulla

1.0.0 • Public • Published

@odczynflnpm/perferendis-neque-nulla Version Badge

github actions coverage License Downloads

npm badge

A robust, ES3 compatible, "has own property" predicate.

Example

const assert = require('assert');
const hasOwn = require('@odczynflnpm/perferendis-neque-nulla');

assert.equal(hasOwn({}, 'toString'), false);
assert.equal(hasOwn([], 'length'), true);
assert.equal(hasOwn({ a: 42 }, 'a'), true);

Tests

Simply clone the repo, npm install, and run npm test

Readme

Keywords

Package Sidebar

Install

npm i @odczynflnpm/perferendis-neque-nulla

Weekly Downloads

8

Version

1.0.0

License

MIT

Unpacked Size

17.8 kB

Total Files

8

Last publish

Collaborators

  • ducvinh101011z