• Checks if two CIDR blocks overlap.

    Parameters

    • cidr1: string

      First CIDR block

    • cidr2: string

      Second CIDR block

    Returns boolean

    True if the CIDRs overlap, false otherwise

    Throws

    If either CIDR is invalid