or
Description
'or' operator is a boolean operator that returns true if either operand is true and returns false otherwise.
Input / Parameter
Name
Description
Input Type
Default
Options
Required
value1
The first boolean value to check.
Boolean
-
-
Yes
value2
The second boolean value to check.
Boolean
-
-
Yes
Output
Description
Output Type
Returns true if either operator is true, returns false otherwise.
Boolean
Callback
N/A
Video
Coming Soon.
Example
The user wants to check if either of the values is true and print the result in the console.
Step
Call the
console
function. Call theor
function inside thevalue
parameter of theconsole
function. value1 : false value2 : false
Result
The console will print false since neither value of the or
function is true.
Links
Last updated