Categorization of values in Node for Max

    Aug 14 2019 | 8:00 am
    Hi, I have a lot of live values from a rest api, that does not get spread out like I want it to. I am not sure wether to fix this in max api, or in my node code. If the value 1 comes first the next value (2) does not go through into the function box "if $i1 == 2 then 60 else 0" . How do I fix this, do I fix this in my code or can I add a function/msg/object in max msp?