When proving if $f:\Bbb R \rightarrow \Bbb R$ has limits as $x \rightarrow \pm \infty$, then $f$ is bounded on $\Bbb R \setminus [A,B]$ for some $A,B \in \Bbb R$, should we prove that
$f$ has a lower bound on $(- \infty,A)$ and an upper bound on $(B, \infty)$ or
$f$ has an upper bound and a lower bound on $(- \infty,A)$ and an upper bound and a lower bound on $(B, \infty)$ ?
