RemoveUndefined Command
From GeoGebra Manual
- RemoveUndefined[List]
- Removes undefined objects from a list.
- Example:
RemoveUndefined[Sequence[(-1)^i, i, -3, -1, 0.5]]
removes the second and fourth elements of the sequence which have non-integer exponents and, therefore, are undefined.