User Tools

Site Tools


modding:function:or

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
modding:function:or [2017/01/26 00:24] 0xabcdefmodding:function:or [2017/01/26 00:26] (current) 0xabcdef
Line 10: Line 10:
 ^ Category | [[logical operator functions|logical operator]] | ^ Category | [[logical operator functions|logical operator]] |
 ^ Returns | The value of the first expression that does not return **Nil**, or **Nil** if there is none. If there is only one argument, returns the value of that argument. | ^ Returns | The value of the first expression that does not return **Nil**, or **Nil** if there is none. If there is only one argument, returns the value of that argument. |
-^ Description | Uses lazy evaluation, which means that it stops after it finds a non-**Nil** argument or ends up evaluating every argument if all of them return **Nil** |+^ Description | Uses lazy evaluation, which means that it stops after it finds a non-**Nil** value or ends up evaluating every argument if all of them return **Nil** |
  
 === Example === === Example ===
modding/function/or.1485390247.txt.gz · Last modified: 2017/01/26 00:24 by 0xabcdef