getConnectedNetwork

Export, used to get network, to which user is connected.

Reference

Type Reference: WifiConnection

---@return WifiConnection | nil
function getConnectedNetwork() end

Usage example

client.lua
  local connectedTo = exports.fd_laptop:getConnectedNetwork()