User Tools

Site Tools


xrpl:or

This is an old revision of the document!


or

ArgumentsResultNotation
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

if (1 or (false)) 
	trace("1 or false is true") 
endif 
xrpl/or.1551655611.txt.gz ยท Last modified: 2025/02/14 14:56 (external edit)