I have been wondering whether this function
$$f(x) = \sqrt{1-x^2} + \sqrt{x^2 -1} + 3$$
is uniformly continuous or not at its domain ($D = \{-1;1\}$). It's clearly a continuous function at $1$ and $-1$ since it satisfies the $\epsilon-\delta$ definition.
"$f$ is continuous at $c$ if for every $\epsilon > 0$ there exists a $\delta > 0$ such that $|x − c| < \delta$ and $x \in A$ implies that $|f(x) − f(c)| < \epsilon$."
If $c$ is an isolated point of the domain $D$, then the continuity condition holds automatically since, for sufficiently small $\delta > 0$, the only point $x \in D$ with $|x − c| < \delta$ is $x = c$, and then $0 = |f(x) − f(c)| < \epsilon$. Thus, a function is continuous at every isolated point of its domain.
My question is whether this function is also uniformly continuous at $D$ since you could choose $\delta>2$ and it would satisfy the definition of continuity for $1$ and $-1$. Actually, the election of $\delta$ does not depend on $\epsilon$ since $|f(x) − f(c)|$ will always be $0$, as $f(1)-f(-1)=3-3=0$; $f(-1)-f(1)=3-3=0$; $f(1)-f(1)=3-3=0$; $f(-1)-f(-1)=3-3=0$.
Is it correct what I'm saying? Is $f$ uniformly continuous at its domain?