|
70 | 70 | * @static
|
71 | 71 | * @memberOf js/partial/foreach
|
72 | 72 | *
|
73 |
| - * @property {boolean} [checkArguments=true] - |
74 |
| - * Determines whether "foreach" should check the number of arguments in the callback function. |
75 |
| - * If it is enabled and: |
76 |
| - * - when the callback function has one argument, "foreach" will |
77 |
| - * pass one argument to the callback function, which will contain |
78 |
| - * the actual **value** of the container object. |
| 73 | + * @property {boolean} [checkArguments=true] |
| 74 | + * Determines whether "foreach" should check the number of arguments in the callback function. |
| 75 | + * If it is enabled and: |
| 76 | + * - when the callback function has one argument, "foreach" will |
| 77 | + * pass one argument to the callback function, which will contain |
| 78 | + * the actual **value** of the container object. |
79 | 79 | *
|
80 |
| - * - when the callback function has two arguments, "foreach" will |
81 |
| - * pass two arguments to the callback function, the first will be |
82 |
| - * the actual **key**, the second will be the |
83 |
| - * actual **value** of the container object. |
| 80 | + * - when the callback function has two arguments, "foreach" will |
| 81 | + * pass two arguments to the callback function, the first will be |
| 82 | + * the actual **key**, the second will be the |
| 83 | + * actual **value** of the container object. |
84 | 84 | *
|
85 |
| - * If it is disabled, always two arguments will be passed to the |
86 |
| - * callback function, the first will be the actual **key**, |
87 |
| - * the second will be the actual **value** of the container object. |
| 85 | + * If it is disabled, always two arguments will be passed to the |
| 86 | + * callback function, the first will be the actual **key**, |
| 87 | + * the second will be the actual **value** of the container object. |
88 | 88 | *
|
89 |
| - * @property {boolean} [checkOwnProperty=true] - |
90 |
| - * Determines whether "foreach" should check whether the container has |
91 |
| - * the current key as an own property via containerObject.hasOwnProperty(key). |
| 89 | + * @property {boolean} [checkOwnProperty=true] |
| 90 | + * Determines whether "foreach" should check whether the container has |
| 91 | + * the current key as an own property via containerObject.hasOwnProperty(key). |
92 | 92 | *
|
93 |
| - * If it is enabled, only those key => value pairs will be passed to the callback function, |
94 |
| - * which are own properties of the container object. |
| 93 | + * If it is enabled, only those key => value pairs will be passed to the callback function, |
| 94 | + * which are own properties of the container object. |
95 | 95 | *
|
96 |
| - * If it is disabled, every key => value of the container object will be passed to the callback function. |
| 96 | + * If it is disabled, every key => value of the container object will be passed to the callback function. |
97 | 97 | *
|
98 |
| - * @property {boolean} [castArrayIndex=true] - |
99 |
| - * Determines whether "foreach" should cast the indices of the array-like container object |
100 |
| - * to integers (in {number}). |
| 98 | + * @property {boolean} [castArrayIndex=true] |
| 99 | + * Determines whether "foreach" should cast the indices of the array-like container object |
| 100 | + * to integers (in {number}). |
101 | 101 | *
|
102 |
| - * If it is enabled, when and **only when** two arguments (key => value) will be passed to |
103 |
| - * the callback function, the first argument (key) will be cast to an integer (in {number}). |
| 102 | + * If it is enabled, when and **only when** two arguments (key => value) will be passed to |
| 103 | + * the callback function, the first argument (key) will be cast to an integer (in {number}). |
104 | 104 | *
|
105 |
| - * If it is disabled, no change and/or cast will occur on the first (key) argument. |
| 105 | + * If it is disabled, no change and/or cast will occur on the first (key) argument. |
106 | 106 | */
|
107 | 107 | config = {
|
| 108 | + |
| 109 | + /** |
| 110 | + * @see {@link config.checkArguments} |
| 111 | + */ |
108 | 112 | checkArguments : true,
|
| 113 | + |
| 114 | + /** |
| 115 | + * @see {@link config.checkOwnProperty} |
| 116 | + */ |
109 | 117 | checkOwnProperty : true,
|
| 118 | + |
| 119 | + /** |
| 120 | + * @see {@link config.castArrayIndex} |
| 121 | + */ |
110 | 122 | castArrayIndex : true
|
111 | 123 | },
|
112 | 124 |
|
|
0 commit comments