Conditioning groups would perform multiple comparisons, and return a single string, binary, or hex value
/*
Cond(x,...,flags[, cb])
2+ input parameters + flags (sign/unsigned) + (optional) callback;
Possible flags : [!]eq [!]lt [!]gt [!]le [!]ge [!]be [!]ae
test x == y (false); x != y (true); x < y (true); returns 0x11
*/
let x=5
let y=9
let cases = Cond(x,y,'eq !eq lt') // 0x11
The idea is to use conditioning groups in javascript to model processing nodes in optical networks