tem" href="/Kodo/kodo/issues"> Issues 0 Pull Requests 0 Commits 668 Releases 0

3 Commits (3367bec35feeb438bf2fd618e4ce981a14845e13)

Author SHA1 Message Date
  Brightcells f2fc73685d Update package django_xxx 8 years ago
  Brightcells 018d52f61d Update package django_xxx 8 years ago
  Brightcells e38c2defaf Upload photo to qiniu 9 years ago
adminSystem - Gogs: Go Git Service

Няма описание

FFIB: 11e3a9652a first преди 8 години
..
.npmignore 11e3a9652a first преди 8 години
LICENSE 11e3a9652a first преди 8 години
README.md 11e3a9652a first преди 8 години
is-property.js 11e3a9652a first преди 8 години
package.json 11e3a9652a first преди 8 години

README.md

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