property-is-enumerable-x

WebJar for property-is-enumerable-x

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

property-is-enumerable-x
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

property-is-enumerable-x
WebJar for property-is-enumerable-x
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/Xotic750/property-is-enumerable-x

Download property-is-enumerable-x

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/property-is-enumerable-x/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>property-is-enumerable-x</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/property-is-enumerable-x/
implementation 'org.webjars.npm:property-is-enumerable-x:1.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/property-is-enumerable-x/
implementation ("org.webjars.npm:property-is-enumerable-x:1.1.0")
'org.webjars.npm:property-is-enumerable-x:jar:1.1.0'
<dependency org="org.webjars.npm" name="property-is-enumerable-x" rev="1.1.0">
  <artifact name="property-is-enumerable-x" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='property-is-enumerable-x', version='1.1.0')
)
libraryDependencies += "org.webjars.npm" % "property-is-enumerable-x" % "1.1.0"
[org.webjars.npm/property-is-enumerable-x "1.1.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : to-object-x jar [1.4.1,2)
org.webjars.npm : to-property-key-x jar [2.0.1,3)

Project Modules

There are no modules declared in this project.

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.
Param Type Description
object Object The object on which to test the property.
property string | Symbol The 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

Versions

Version
1.1.0