Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

property-is-enumerable-x

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

property-is-enumerable-x

Indicates whether the specified property is enumerable.

  • 2.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.8K
decreased by-50.67%
Maintainers
1
Weekly downloads
 
Created
Source

Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

property-is-enumerable-x

Indicates whether the specified property is enumerable.

module.exports(object, property)boolean

This method returns a Boolean indicating whether the specified property is enumerable. Does not attempt to fix bugs in IE<9 or old Opera, otherwise it does ES6ify the method.

Kind: Exported function
Returns: boolean - A Boolean indicating whether the specified property is enumerable.
Throws:

  • TypeError If target is null or undefined.
ParamTypeDescription
objectObjectThe object on which to test the property.
propertystring | SymbolThe name of the property to test.

Example

import propertyIsEnumerable from 'property-is-enumerable-x';

const o = {};
const a = [];
o.prop = 'is enumerable';
a[0] = 'is enumerable';

console.log(propertyIsEnumerable(o, 'prop')); // true
console.log(propertyIsEnumerable(a, 0)); // true

Keywords

FAQs

Package last updated on 28 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc