def _validate_point(point: list[float]) -> None:
    if point:
        if isinstance(point, list):
            for item in point:
                if not isinstance(item, (int, float)):
                    raise TypeError(
                        f"Expected a list of numbers as input, "
                        f"found {type(item).__name__}"
                    )
        else:
            raise TypeError(
                f"Expected a list of numbers as input, found {type(point).__name__}"
            )
    else:
        raise ValueError("Missing an input")