askql
askql copied to clipboard
equals should be modified
Following a discussion on ==
, ===
and equals, equals
in Ask:
- 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.
- should return false when comparing data of different type groups - e.g.
2 != '2'
,2 != true
,0 != false
, but2.0 == 2
and2:toFloat == 2
(because int and float can be directly compared)