https://github.com/codedotjs/git-cli
git cli practice
https://github.com/codedotjs/git-cli
Last synced: 6 months ago
JSON representation
git cli practice
- Host: GitHub
- URL: https://github.com/codedotjs/git-cli
- Owner: CodeDotJS
- Created: 2015-11-18T10:19:19.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-29T14:41:45.000Z (about 10 years ago)
- Last Synced: 2025-04-05T09:30:07.938Z (10 months ago)
- Language: Python
- Size: 929 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
-------
```javascript
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