is-property

WebJar for is-property

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-property
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

is-property
WebJar for is-property
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/mikolalysenko/is-property

Download is-property

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

is-property

Tests if a property of a JavaScript object can be accessed using the dot (.) notation or if it must be enclosed in brackets, (ie use x[" ... "])

Example

var isProperty = require("is-property")

console.log(isProperty("foo"))  //Prints true
console.log(isProperty("0"))    //Prints false

Install

npm install is-property

require("is-property")(str)

Checks if str is a property

  • str is a string which we will test if it is a property or not

Returns true or false depending if str is a property

Credits

(c) 2013 Mikola Lysenko. MIT License

Versions

Version
1.0.2
1.0.0