Liking cljdoc? Tell your friends :D

spec-validate.predicates


*default-phone-number-region-code*clj

source

absolute-url?clj

Returns true if the provided value is a string representing an absolute URL, else returns false.

Returns true if the provided value is a string representing an absolute URL,
else returns false.
sourceraw docstring

boolean?clj

Returns true if the provided value is a boolean, else returns false.

Returns true if the provided value is a boolean, else returns false.
sourceraw docstring

content?clj

Returns true if the provided value is a string containing non-whitespace characters, else returns false.

Returns true if the provided value is a string containing non-whitespace
characters, else returns false.
sourceraw docstring

currency-amount?clj

Returns true if the provided value is a string representing a currency amount, else returns false.

Returns true if the provided value is a string representing a currency
amount, else returns false.
sourceraw docstring

currency-code?clj

Returns true if the provided value is a string representing a currency code, else returns false.

Returns true if the provided value is a string representing a currency
code, else returns false.
sourceraw docstring

digits?clj

Returns true if the provided value is a string containing only the digits 0-9, else returns false.

Returns true if the provided value is a string containing only the digits
0-9, else returns false.
sourceraw docstring

email-address?clj

Returns true if the email address is valid, based on RFC 2822. Email addresses containing quotation marks or square brackets are considered invalid, as this syntax is not commonly supported in practise. The domain of the email address is not checked for validity.

Returns true if the email address is valid, based on RFC 2822. Email
addresses containing quotation marks or square brackets are considered
invalid, as this syntax is not commonly supported in practise. The domain of
the email address is not checked for validity.
sourceraw docstring

iso8601-datetime?clj

Returns true if the provided value is a string representing an ISO8601 datetime, else returns false.

Returns true if the provided value is a string representing an ISO8601
datetime, else returns false.
sourceraw docstring

length-equal-to-10?clj

source

length-equal-to-1?clj

source

length-equal-to-2?clj

source

length-equal-to-3?clj

source

length-equal-to-4?clj

source

length-equal-to-5?clj

source

length-equal-to-6?clj

source

length-equal-to-7?clj

source

length-equal-to-8?clj

source

length-equal-to-9?clj

source

length-equal-to?clj

(length-equal-to? length)
source

length-greater-than-10?clj

source

length-greater-than-1?clj

source

length-greater-than-2?clj

source

length-greater-than-3?clj

source

length-greater-than-4?clj

source

length-greater-than-5?clj

source

length-greater-than-6?clj

source

length-greater-than-7?clj

source

length-greater-than-8?clj

source

length-greater-than-9?clj

source

length-greater-than?clj

(length-greater-than? length)
source

length-less-than-10?clj

source

length-less-than-1?clj

source

length-less-than-2?clj

source

length-less-than-3?clj

source

length-less-than-4?clj

source

length-less-than-5?clj

source

length-less-than-6?clj

source

length-less-than-7?clj

source

length-less-than-8?clj

source

length-less-than-9?clj

source

length-less-than?clj

(length-less-than? length)
source

negative?clj

Returns true if the provided value is a positive number or a string representing a positive number, else returns false.

Returns true if the provided value is a positive number or a string
representing a positive number, else returns false.
sourceraw docstring

not-empty?clj

Returns true if the provided value has a count of at least 1, else returns false.

Returns true if the provided value has a count of at least 1,
else returns false.
sourceraw docstring

phone-number?clj

Returns true if the provided value is a string representing a phone number, else returns false. By default, treats phone numbers as being from Great Britain, however the default region can be overridden with *default-phone-number-region-code*.

Returns true if the provided value is a string representing a phone number,
else returns false. By default, treats phone numbers as being from
Great Britain, however the default region can be overridden with
`*default-phone-number-region-code*`.
sourceraw docstring

positive?clj

Returns true if the provided value is a positive number or a string representing a positive number, else returns false.

Returns true if the provided value is a positive number or a string
representing a positive number, else returns false.
sourceraw docstring

postcode?clj

Returns true if the provided value is a string representing a UK postcode, else returns false.

Returns true if the provided value is a string representing a UK postcode,
else returns false.
sourceraw docstring

string?clj

Returns true if the provided value is a string, else returns false.

Returns true if the provided value is a string, else returns false.
sourceraw docstring

uuid-v4?clj

Returns true if the provided value is a string representing a v4 UUID, else returns false.

Returns true if the provided value is a string representing a v4 UUID,
else returns false.
sourceraw docstring

zero?clj

Returns true if the provided value is zero or a string representing zero, else returns false.

Returns true if the provided value is zero or a string representing zero,
else returns false.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close