Chained Relational

This feature allows you to write complex relational expressions like

if (1 < a && a < 5) {}

if (0 < a && a < b && b < c && c < d && d < 255) {
    // do something
}

in a more natural way:

if (1 < a < 5) {}

if (0 < a < b < c < d < 255) {
    // do something
}

results matching ""

    No results matching ""