@ganuz/delete-property
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@ganuz/delete-property

Source Code Version MIT License Bundle Size TypeScript

Delete Property is package from Ganuz library

Install

$ yarn add @ganuz/delete-property

Or

$ npm install --save @ganuz/delete-property

Use

Module

import {
  default as deleteProperty
} from '@ganuz/delete-property';

Browser

<script src="https://unpkg.com/@ganuz/delete-property/bundle.umd.min.js"></script>
let {
  deleteProperty
} = G;

Examples

 deleteProperty(55, 'foo'); // => throw TypeError
 deleteProperty({foo: 'bar'}, 'foo'); // => true
 deleteProperty([0, 1, 2], 0); // => true
 deleteProperty(Object.create(null, {foo: {value: 'bar'}}), 'foo'); // => false
 deleteProperty(Object.seal({foo: 'bar'}), 'foo'); // => false

@ganuz/delete-property/polyfill

Module

  import '@ganuz/delete-property/polyfill';

Browser

<script src="https://unpkg.com/@ganuz/delete-property/polyfill/bundle.umd.min.js"></script>

License

Copyright © Yisrael Eliev, Licensed under the MIT license.

Package Sidebar

Install

npm i @ganuz/delete-property

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

107 kB

Total Files

27

Last publish

Collaborators

  • yisraelx