askql icon indicating copy to clipboard operation
askql copied to clipboard

equals should be modified

Open czerwinskilukasz1 opened this issue 4 years ago • 0 comments

Following a discussion on ==, === and equals, equals in Ask:

  1. should do a deep comparison of immutable objects. Please refer to https://immutable-js.github.io/immutable-js/#equality-treats-collections-as-values for reference.
  2. should return false when comparing data of different type groups - e.g. 2 != '2', 2 != true, 0 != false, but 2.0 == 2 and 2:toFloat == 2 (because int and float can be directly compared)

czerwinskilukasz1 avatar Jul 06 '20 10:07 czerwinskilukasz1