iusto-placeat-libero

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

MIT License

Downloads
4
Stars
0

@bobyzgirlllnpm/iusto-placeat-libero Version Badge

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

Example

const assert = require('assert');
const hasOwn = require('@bobyzgirlllnpm/iusto-placeat-libero');

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

Package Rankings
Top 36.24% on Npmjs.org
Badges
Extracted from project README's
Version Badge github actions coverage License Downloads npm badge
Related Projects