Skip to content

Commit

Permalink
Add some missing integer-from-to and real-range fns to realm.inspection.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Frese committed Apr 25, 2024
1 parent dfe1084 commit 48d21a9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/active/data/realm/inspection.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@
realm-records/integer-from-to-realm-from
realm-records/integer-from-to-realm-to)

(defn integer-from-to?
[thing]
(is-a? integer-from-to-realm thing))

(re-export
realm-records/real-range-realm
realm-records/real-range-realm-clusive-left
realm-records/real-range-realm-left
realm-records/real-range-realm-right
realm-records/real-range-realm-clusive-right)

(defn real-range?
[thing]
(is-a? real-range? thing))
Expand Down

0 comments on commit 48d21a9

Please sign in to comment.