diff --git a/src/uxbox/main/geom/matrix.cljs b/src/uxbox/main/geom/matrix.cljs index 14175b6c40..92712d6679 100644 --- a/src/uxbox/main/geom/matrix.cljs +++ b/src/uxbox/main/geom/matrix.cljs @@ -44,7 +44,7 @@ (let [[a b c d tx ty] v] (Matrix. a b c d tx ty)))) -(defn matrix? +(defn ^boolean matrix? "Return true if `v` is Matrix instance." [v] (instance? Matrix v)) diff --git a/src/uxbox/main/geom/point.cljs b/src/uxbox/main/geom/point.cljs index 079b538d40..c9dce89b81 100644 --- a/src/uxbox/main/geom/point.cljs +++ b/src/uxbox/main/geom/point.cljs @@ -35,7 +35,7 @@ (-point [v] (Point. (first v) (second v)))) -(defn point? +(defn ^boolean point? "Return true if `v` is Point instance." [v] (instance? Point v))