Thrisha04's picture
Upload 1067 files
97da062 verified
|
Raw History Blame Contribute Delete
1.61 kB

A newer version of the Gradio SDK is available: 6.32.0

Upgrade

hasown 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('hasown');

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