KeepIf Command
From GeoGebra Manual
- KeepIf[Condition, List]
- Creates a new list that only contains those elements of the initial list that fulfill the condition.
- Example:
KeepIf[x<3, {1, 2, 3, 4, 1, 5, 6}]
returns the new list {1, 2, 1}.