eq
Eq returns true if the value equals the given parameter.
Eq returns true if the value equals the given parameter. Supports numeric coercion, string comparison, and direct equality.
Input
any
Parameters
| # | Type | Required |
|---|---|---|
| 0 | any | yes |
Returns
bool
Examples
{{ status | eq:'active' }}
{{ count | eq:0 }}
{{ flag | eq:true }}How is this guide?