You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to implement a jsonlogic library in Swift, and I wanted the library to provide results similar to your json-logic. Playing around in http://jsonlogic.com/play.html I found that: { "<=" : [[1], [1]] } results in true
but { "==" : [[1], [1]] } results in false
and { "===" : [[1], [1]] } results in false
and { "<" : [[1], [1]] } results in false
I am trying to understand if this the correct and intended behavior, because it is hard to wrap my head around these results.
The text was updated successfully, but these errors were encountered:
I was trying to implement a jsonlogic library in Swift, and I wanted the library to provide results similar to your json-logic. Playing around in http://jsonlogic.com/play.html I found that:
{ "<=" : [[1], [1]] }
results in truebut
{ "==" : [[1], [1]] }
results in falseand
{ "===" : [[1], [1]] }
results in falseand
{ "<" : [[1], [1]] }
results in falseI am trying to understand if this the correct and intended behavior, because it is hard to wrap my head around these results.
The text was updated successfully, but these errors were encountered: