Skip to content

lightgun-poc / lib/net / wifiInterfaceNames

Function: wifiInterfaceNames()

wifiInterfaceNames(exec?, platform?): Set<string> | null

Defined in: lib/net.ts:50

The WiFi interface names for platforms where the name alone cannot tell (macOS only). null elsewhere or when the lookup fails — callers fall back to the name regex.

Parameters

exec?

(cmd) => string

platform?

string = process.platform

Returns

Set<string> | null

Released under the MIT License.