Function If avec flow.get

C’est normal le && là?

Et dans les autres cas? Si il y en a deux avec le nombre 1 c’est quoi en sortie? true aussi?

Je ferai un truc comme ça:

msg.payload = true;
msg.topic = "trvleo";

if ( flow.get('trvleo') === "leo 2" && flow.get('trvparent') === "parent 2" && flow.get('trvjeu') === "jeu 2" && flow.get('trvsdb') === "sdb 2") {
    msg.payload = false;
}