Skip to content

Commit

Permalink
add not-native definition, so that ^not-native works in other namespa…
Browse files Browse the repository at this point in the history
…ces.
  • Loading branch information
swannodette committed Feb 23, 2013
1 parent ae73641 commit cb04704
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cljs/cljs/core.cljs
Expand Up @@ -40,6 +40,8 @@
[x]
(js* "(~{x} != null && ~{x} !== false)"))

(def not-native nil)

(defn ^boolean identical?
"Tests if 2 arguments are the same object"
[x y]
Expand Down

0 comments on commit cb04704

Please sign in to comment.