2
$\begingroup$

I have a huge list of the form

{a==1,b==2}

I want to get the expression like

a==1&&b==2

How is it possible to do that?

$\endgroup$
2
$\begingroup$

Use @@ (a.k.a Apply):

And@@{a==1,b==2}

a == 1 && b == 2

| improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.