Sentient supports conditionals as expressions. Both the consequent and alternate must be provided and both branches will be evaluated, regardless of the return value of the conditional. Here’s an example:
a = if(someCondition, valueIfTrue, valueIfFalse);
This can be equivalently written as:
a = someCondition.if(valueIfTrue, valueIfFalse);
Or using a ternary form:
a = someCondition ? valueIfTrue : valueIfFalse;
See boolean for more information.