User Tools

Site Tools


xrpl:and

Differences

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

Link to this comparison view

xrpl:and [2019/03/03 21:11] – created Karsten75xrpl:and [2021/03/24 15:13] (current) – removed Karsten75
Line 1: Line 1:
- 
-=====  and   ===== 
- 
-^Arguments^Result^Notation^ 
-|bool bool| bool| [bool bool- bool] | 
- 
- 
-=== Description === 
-Pops two items from the stack and treats them as TRUE/FALSE (0/1 or Boolean) values. If they are both TRUE, 1 is pushed to the stack. Otherwise, 0 is pushed to the stack.  
- 
-=== Examples === 
-<code prpl>if (1 and (true))  
- trace("1 and true are both true" 
-endif  
-</code> 
  
xrpl/and.1551647467.txt.gz · Last modified: 2025/02/14 14:56 (external edit)