String

struct String

This is an extension to the String type that returns the String as an IP address.

  • Declaration

    Swift

    var ipAddress: RVS_IPAddress? { get }

    Return Value

    the String, parsed as an IP address. It will be either an instance of RVS_IPAddressV4 or RVS_IPAddressV6. It will be nil, if the IP Address is invalid (no instance).