(hints)
| 275 | } |
| 276 | |
| 277 | function validateHints(hints) { |
| 278 | const { AI_ADDRCONFIG, AI_ALL, AI_V4MAPPED } = lazyBinding(); |
| 279 | if ((hints & ~(AI_ADDRCONFIG | AI_ALL | AI_V4MAPPED)) !== 0) { |
| 280 | throw new ERR_INVALID_ARG_VALUE('hints', hints); |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | function setDefaultResultOrder(value) { |
| 285 | validateOneOf(value, 'dnsOrder', validDnsOrders); |
no test coverage detected
searching dependent graphs…