$or
$or
will check if one of the given conditions is true.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
…conditions | string | The conditions you want to check. | true |
Example(s)
This will check if the two of three given conditions are true
:
$authorId==$authorId
->true
1>=1
->true
$packageVersion==1.0.0
->false
As you can see, one condition is false
.
Another example but with it returning false would be:
This will check if the three given conditions are true
:
$authorId==$channelId
->false
1!=1
->false
$packageVersion==1.0.0
->false
As you can see, all conditions are false
.