Ecto.Type.equal-question-mark
You're seeing just the function
equal-question-mark
, go back to Ecto.Type module for more information.
Specs
Checks if two terms are equal.
Depending on the given type
performs a structural or semantical comparison.
Examples
iex> equal?(:integer, 1, 1)
true
iex> equal?(:decimal, Decimal.new("1"), Decimal.new("1.00"))
true