Table of contents
  1. 1. Usage Restrictions
  2. 2. Samples

Returns the first operand if it is not nil, false, or 0; otherwise, returns the second operand.  The second operand is evaluated only if necessary (short-cut evaluation).

Usage Restrictions

1.8.3 or later.

Samples


Output

To calculate the disjuntion of two values:

{{ false || 123 }} 

123

Tag page (Edit tags)
    You must login to post a comment.