percentage-based splitting.
This commit is contained in:
@@ -12,5 +12,6 @@
|
||||
(s/def ::required-identifier (s/and string?
|
||||
#(not (str/blank? %))))
|
||||
|
||||
(s/def ::money (s/and string?
|
||||
#(re-matches money-regex %)))
|
||||
(s/def ::money (s/or :string (s/and string?
|
||||
#(re-matches money-regex %))
|
||||
:float float?))
|
||||
|
||||
Reference in New Issue
Block a user