Security update to Drupal 8.4.6
[yaffs-website] / node_modules / is-property / README.md
1 is-property
2 ===========
3 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[" ... "])
4
5 Example
6 -------
7
8 ```javascript
9 var isProperty = require("is-property")
10
11 console.log(isProperty("foo"))  //Prints true
12 console.log(isProperty("0"))    //Prints false
13 ```
14
15 Install
16 -------
17
18     npm install is-property
19     
20 ### `require("is-property")(str)`
21 Checks if str is a property
22
23 * `str` is a string which we will test if it is a property or not
24
25 **Returns** true or false depending if str is a property
26
27 ## Credits
28 (c) 2013 Mikola Lysenko. MIT License