Is there a built-in function for the natural length of a segment represented by an iterator?

Some variations of the same idea

diamet(itr) = -(-(extrema(itr)...))

diameter(itr) = [-1 1]*[extrema(itr)...]