hammerspoon2-docs
    Preparing search index...

    Function interfaces

    • Returns all network interfaces present on this system.

      Returns {
          displayName?: string;
          isLoopback: boolean;
          isRunning: boolean;
          isUp: boolean;
          name: string;
      }[]

      The network interfaces

      • OptionaldisplayName?: string

        A human-readable label for the interface, e.g. "Wi-Fi" or "Ethernet", if the system provides one

      • isLoopback: boolean

        Whether it's a loopback interface

      • isRunning: boolean

        Whether the interface is running

      • isUp: boolean

        Whether the interface is up

      • name: string

        The interface's BSD name, e.g. "en0"