At an isolated point of a [metric space](/page/Metric%20Space), every function is continuous because a small enough ball contains only that point. The result shows how continuity can come from the local structure of the domain rather than from any regularity in the formula for the function.