https://github.com/ryanj/hexboard-old
container-based game tiles
https://github.com/ryanj/hexboard-old
Last synced: 8 months ago
JSON representation
container-based game tiles
- Host: GitHub
- URL: https://github.com/ryanj/hexboard-old
- Owner: ryanj
- Created: 2015-06-01T19:57:40.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-14T07:50:05.000Z (almost 11 years ago)
- Last Synced: 2025-10-28T05:34:50.792Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.87 MB
- Stars: 0
- 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