from typing import Any


def none_to_default(field: Any, default: Any) -> Any:
    """Convert None values into default values.

    :param field: the original value that may be None.
    :param default: the new, default, value.
    :return: field; the new value if field is None, the old value
        otherwise.
    :rtype: any
    """
    return default if field is None else field