0.0.12 permalink Arrow_down_16x16

string-or-regex?

circumspec.should

  • (string-or-regex? x)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source circumspec/should.clj:84 top

(defn string-or-regex?
  [x]
  (or (string? x)
      (instance? java.util.regex.Pattern x)))
Vars in circumspec.should/string-or-regex?: defn instance? or string?
Used in 0 other vars

Comments top

No comments for string-or-regex?. Log in to add a comment.