| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,5 @@ | |||
| 1 | + /* eslint jsdoc/require-jsdoc: "error" */ | ||
| 2 | + | ||
| 1 | 3 | 'use strict'; | |
| 2 | 4 | ||
| 3 | 5 | const { | |
@@ -217,6 +219,12 @@ function validateBoolean(value, name) { | |||
| 217 | 219 | throw new ERR_INVALID_ARG_TYPE(name, 'boolean', value); | |
| 218 | 220 | } | |
| 219 | 221 | ||
| 222 | + /** | ||
| 223 | + * @param {?object} options | ||
| 224 | + * @param {string} key | ||
| 225 | + * @param {boolean} defaultValue | ||
| 226 | + * @returns {boolean} | ||
| 227 | + */ | ||
| 220 | 228 | function getOwnPropertyValueOrDefault(options, key, defaultValue) { | |
| 221 | 229 | return options == null || !ObjectPrototypeHasOwnProperty(options, key) ? | |
| 222 | 230 | defaultValue : | |
| Back | FazBrowse Home | New Git URL |
0 commit comments