from typing import Union


def get_wl_band(radar_frequency: Union[float, int]) -> int:
    """Returns integer corresponding to radar frequency.

    Args:
        radar_frequency: Radar frequency (GHz).

    Returns:
        0 = 35GHz radar, 1 = 94Ghz radar.

    """
    return 0 if (30 < radar_frequency < 40) else 1