Does the function f (x) = (- 1) ^ X have a limit

Does the function f (x) = (- 1) ^ X have a limit

This should not be a function, but a sequence an = (- 1) ^ n
There is no limit
because
There are subsequences AI = (- 1) ^ 2I = 1 and lim AI = 1
Subsequence AJ = (- 1) ^ (2J + 1) = - 1, and lim AJ = - 1
Therefore, for the sequence an, there are two subsequences with different limit values
Therefore, Liman does not exist
If you don't understand, please ask