(add-type-hints expr)Add type hints to an expression, only if it can be preserved via emit-form to the Clojure compiler.
The most reliable AST node to convey a type hint is :local, so we restrict adding type hints to only :local nodes.
Add type hints to an expression, only if it can be preserved via emit-form to the Clojure compiler. The most reliable AST node to convey a type hint is :local, so we restrict adding type hints to only :local nodes.
(check-host-call check-expr -host-call-special expr expected)(check-host-interop check-expr expr expected)(check-maybe-host-form check-expr expr expected)(try-resolve-reflection ast)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |