(options)
| 139 | } |
| 140 | |
| 141 | function getDeterministicOption (options) { |
| 142 | let value |
| 143 | if (hasOwnProperty.call(options, 'deterministic')) { |
| 144 | value = options.deterministic |
| 145 | if (typeof value !== 'boolean' && typeof value !== 'function') { |
| 146 | throw new TypeError('The "deterministic" argument must be of type boolean or comparator function') |
| 147 | } |
| 148 | } |
| 149 | return value === undefined ? true : value |
| 150 | } |
| 151 | |
| 152 | function getBigIntOption (options) { |
| 153 | let value |