Eq

Equals to

Signature

eq(left: Alpha|AttrName, right: Alpha|AttrName) -> Predicate

Examples

eq(:city, 'London')
eq(:supplier_city, :part_city)

Description

This predicates checks whether two values are equal.

Implementation notes

This predicate is equivalent to ->(t){ _left_ == _right_ }.