(as-bool s)
Parse a string into a boolean, or nil
if the string cannot be parsed.
Parse a string into a boolean, or `nil` if the string cannot be parsed.
(as-double s)
Parse a string into a double, or nil
if the string cannot be parsed.
Parse a string into a double, or `nil` if the string cannot be parsed.
(as-int s)
Parse a string into an integer, or nil
if the string cannot be parsed.
Parse a string into an integer, or `nil` if the string cannot be parsed.
(as-number s)
Reads a number from a string. Returns nil if not a number.
Reads a number from a string. Returns nil if not a number.
(as-uuid s)
Parse a string into a UUID, or nil
if the string cannot be parsed.
Parse a string into a UUID, or `nil` if the string cannot be parsed.
(uuid! v)
Gets string and converts it into java.util/UUID object If v is not string or UUID -- returns nil
Gets string and converts it into java.util/UUID object If v is not string or UUID -- returns nil
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close