Wiki
Clone wikisymja_android_library / Symbols / Cases
Cases
Cases(list_of_expr, condition)
- returns the expressions from thr
list_of_expr
which matchescondition
.
Examples
>>> Cases({a, b, 3/4, I, 4, 1/2}, a_Rational)
{3/4,1/2}
Updated
Cases(list_of_expr, condition)
list_of_expr
which matches condition
.>>> Cases({a, b, 3/4, I, 4, 1/2}, a_Rational)
{3/4,1/2}
Updated