/
eq

eq

Function: eq()

Returns True if two values are equal otherwise returns False.

Syntax

  1. eq(value, compareValue)
  2. value == compareValue
ArgumentTypeDescription
valueAnyFirst value to compare
compareValueAnyValue to be compared.

Examples

in.success == "Passed"

Returns True if in.success matches the string "Passed"

eq(in.custType == "BUSINESS")

Returns True if in.custType matches the string "BUSINESS"

$count == 5

Returns True when the $-Variable $count equals 5.

See Also

Related content

eq
More like this
eq
More like this
eq
More like this
eq
More like this
ne
More like this
ne
More like this