or
Block helper that renders a block if any of the given values is truthy. If an inverse block is specified it will be rendered when falsy.
Params
arguments{...any}: Variable number of argumentsreturns{String}: Block, or inverse block if specified and falsey.
Example
{{ assign 'a' true }}
{{ assign 'b' false }}
{{ assign 'c' false }}
{{#or a b c}}
All of the above are truthy.
{{else}}
One or more of the above is falsey.
{{/or}}
Was this article helpful to you?