• Validates if the provided string is a valid IPv4 CIDR.

    Parameters

    • cidr: string

      The CIDR string to validate (e.g., "10.0.0.0/8")

    Returns boolean

    True if the CIDR is valid, false otherwise