Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Unclear sentence in the documentation #9

Open
vinassefranche opened this issue Nov 5, 2019 · 0 comments
Open

Unclear sentence in the documentation #9

vinassefranche opened this issue Nov 5, 2019 · 0 comments

Comments

@vinassefranche
Copy link
Contributor

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant