def METHOD_NAME(dct: Dict, *keys) -> Any:
    """
    Get values from nested dictionaries while returning ``None`` when a ``KeyError`` or
    ``TypeError`` is raised.
    """
    for key in keys:
        try:
            dct = dct[key]
        except (KeyError, TypeError):
            return None
    return dct