User Tools

Site Tools


xrpl:or

Differences

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

Link to this comparison view

xrpl:or [2019/03/03 23:26] – created Karsten75xrpl:or [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
- 
-=====  or   ===== 
- 
-^Arguments^Result^Notation^ 
-|bool bool| bool| [bool bool- bool] | 
- 
- 
-=== Description === 
-Pops two items from the stack, treats them as boolean values, 'ors' them, and pushes 0 or 1 back to the stack.  
-If either items are TRUE, or both are TRUE, it returns TRUE to the stack. If both items are FALSE, FALSE is returned to the stack.  
- 
-=== Examples === 
-<code prpl>if (1 or (false))  
- trace("1 or false is true" 
-endif  
-</code> 
  
xrpl/or.1551655611.txt.gz · Last modified: 2025/02/14 14:56 (external edit)