User Tools

Site Tools


xrpl:not

Differences

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

Link to this comparison view

xrpl:not [2019/03/03 23:22] – created Karsten75xrpl:not [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
- 
-=====  not   ===== 
- 
-^Arguments^Result^Notation^ 
-|bool| bool| [bool- bool] | 
- 
- 
-=== Description === 
-Pops one item from the stack, treats it as a boolean value, 'nots' it, and pushes 0 or 1 back to the stack.  
-If the item is TRUE, 0 is pushed to the stack. If the item is FALSE, 1 is pushed to the stack.  
- 
-=== Examples === 
-<code prpl>if (not(false))  
- trace("not false is true" 
-endif  
-</code> 
  
xrpl/not.1551655360.txt.gz · Last modified: 2025/02/14 14:56 (external edit)