function ipRangeToString(ipRange) {
    return ipRange.end ? `${ipRange.start}-${ipRange.end}` : ipRange.start;
}
Generate SasIPRange format string. For example:

"8.8.8.8" or "1.1.1.1-255.255.255.255"

@param ipRange -