Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention ^string, ^number in "Type hinting" section #316

Open
vemv opened this issue May 23, 2019 · 0 comments
Open

Mention ^string, ^number in "Type hinting" section #316

vemv opened this issue May 23, 2019 · 0 comments
Labels

Comments

@vemv
Copy link

vemv commented May 23, 2019

https://github.com/clojure/clojurescript-site/blob/0ef3da1d56fed6d9de322fed4973f2b17ecf6a9e/content/about/differences.adoc#hinting says:

the only type hint of significance is the ^boolean type hint: It is used to avoid checked if evaluation (which copes with the fact that, for example, 0 and "" are false in JavaScript and true in ClojureScript).

, but that's not true anymore given the ^string, ^number additions.

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

No branches or pull requests

2 participants