Task from exam: With $\varepsilon-\delta$ define what it means: $f$ is continuous in $x_{0}$

I found an old exam and one task is: What does "$f$ is continuous in $x_{0}$" mean, with reference to $\varepsilon-\delta$ definition.

$f$ is a function and $x_{0}$ is the position where we check if the function is continuous...

Would it be enough if I just wrote:

Let $f: A \rightarrow \mathbb{R}$

$f$ is continuous in $x_{0}$ $\Leftrightarrow$ for all $\varepsilon>0$ there exists a $\delta>0$ so that for all $x \in A:$ $|x-x_{0}|<\delta: |f(x)-f(x_{0})|< \varepsilon$

Is it correct like that? Or would you do it completely different than me? Please let me know, it's very important!

Your definition is correct if $A$ is a subset of $\mathbb R$. Otherwise, $|x-x_0|$ is not defined.
Also, it would be nice (but it's not really a mistake if you don't) to mention somewhere that $x_0\in A$.
for all $\varepsilon>0$ there exists a $\delta>$ so that for all $x \in A:$ $|x-x_{0}|<\delta \Rightarrow |f(x)-f(x_{0})|< \varepsilon$