informative read: <https://developer.mozilla.org/e...
# suitescript
e
informative read: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_OperatorsLogical OR (
||
)
expr1 || expr2
Returns expr1 if it can be converted to true; otherwise, returns expr2. Thus, when used with Boolean values, || returns true if either operand is true.