KeepIf Command

From GeoGebra Manual
Revision as of 22:31, 3 November 2009 by K Voss (talk | contribs) (create official page from pdf)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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}.
© 2024 International GeoGebra Institute