Function equalTo

Helper function for comparing two values.

bool equalTo(ValueT) (
  in ValueT v1,
  in ValueT v2
);