2
$\begingroup$

This question already has an answer here:

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$

marked as duplicate by Kuba list-manipulation Dec 1 '18 at 10:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2
$\begingroup$

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

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

a == 1 && b == 2

$\endgroup$

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