Web Scrapers Generator BrowserExt

if else

Condition. If the value of logical condition does not equal 0, if body is performed, otherwise else body is performed.

if (exp) {
    if body
}
[else {
    else body
}]
    

Parameters:

exp Logical expression. Allows following operators:
== equal
!= not equal
> greater than
< less than
>= equal to or greater than
<= less or equal to
&& and
|| or
! denial
The result of any logical operator is 0 (false) or 1 (true). The operands of these operators can be variables of string or a number type.

Example 1.