Formats the provided address to a string with the provided separator

"."
  • Parameters

    • address: IPv4Address
    • separator: "_" | "." | " " = '.'

    Returns Result<string, string>

    formatToString([192, 168, 100, 10]); // "192.168.100.10"