Unclear sentence in the documentation
Opened this issue · 0 comments
vinassefranche commented
Concerning decod.is
, this sentence feels unclear to me as i don't understand if we perform the deep equality or not:
Not that in order to do that, it only accepts values of primitive types (string, number, boolean, null or undefined) otherwise it would need to perform deep equality in case of complex objects or arrays.
Since we don't want to support the deep equality, i would suggest something like this:
Note that in order to do that, the triple equal comparison is used so we made it only accept values of primitive types (string, number, boolean, null or undefined)