Skip to main content
getDefaultAutoSelectFamily - node__net.d.ts - Node documentation
function getDefaultAutoSelectFamily

Usage in Deno

```typescript import { getDefaultAutoSelectFamily } from "node:node__net.d.ts"; ```
getDefaultAutoSelectFamily(): boolean
Gets the current default value of the `autoSelectFamily` option of `socket.connect(options)`. The initial default value is `true`, unless the command line option`--no-network-family-autoselection` is provided.

Return Type

boolean