This commit is contained in:
Sam Ritchie 2023-01-21 12:27:20 -07:00
Родитель 43f59bf29f
Коммит 65a920eaa5
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -2,7 +2,9 @@
;; Licensed under the MIT License.
(ns same
{:deprecated "0.1.5" :superseded-by "same.core"}
(:require [same.core]))
(:require [same.core])
#?(:cljs
(:require-macros [same])))
(def ish? same.core/ish?)
(def zeroish? same.core/zeroish?)

Просмотреть файл

@ -5,7 +5,9 @@
(:require #?(:clj [clojure.test :refer [assert-expr do-report]])
#?(:clj [same.diff :as diff])
[same.compare :refer [near-zero]]
[same.ish :as ish :refer [ish]]))
[same.ish :as ish :refer [ish]])
#?(:cljs
(:require-macros [same.core])))
(defn ish?
"Compare one or more values to an expected value, returning true if they are the same-ish.