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.

  • 1.1.0
  • 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

property-is-enumerable-x

Indicates whether the specified property is enumerable.

Version: 1.1.0
Author: Xotic750 Xotic750@gmail.com
License: MIT
Copyright: Xotic750

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

var propertyIsEnumerable = require('property-is-enumerable-x');

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

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

Keywords

FAQs

Package last updated on 09 Sep 2017

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