Wiki

Clone wiki

symja_android_library / Symbols / Cases

Cases

Cases(list_of_expr, condition)
returns the expressions from thr list_of_expr which matches condition.

Examples

>>> Cases({a, b, 3/4, I, 4, 1/2}, a_Rational)
{3/4,1/2}

Updated