A dummy UUID object '00000000-0000-0000-0000-000000000000'
A dummy UUID object '00000000-0000-0000-0000-000000000000'
A dummy UUID string '00000000-0000-0000-0000-000000000000'
A dummy UUID string '00000000-0000-0000-0000-000000000000'
A null UUID object '00000000-0000-0000-0000-000000000000'
A null UUID object '00000000-0000-0000-0000-000000000000'
A null UUID string '00000000-0000-0000-0000-000000000000'
A null UUID string '00000000-0000-0000-0000-000000000000'
(counted)
Inputs: [] Returns: UUID
Returns a UUID object as the result of the next call to counted-str
Inputs: [] Returns: UUID Returns a UUID object as the result of the next call to `counted-str`
(counted-reset!)
Resets the index for counted-str
to zero.
Resets the index for `counted-str` to zero.
(counted-str)
Inputs: [] Returns: s/Str
Each call returns the next UUID string in a sequence like:
00000000-aaaa-bbbb-cccc-ddddeeeeffff
00000001-aaaa-bbbb-cccc-ddddeeeeffff
00000002-aaaa-bbbb-cccc-ddddeeeeffff
Inputs: [] Returns: s/Str Each call returns the next UUID string in a sequence like: 00000000-aaaa-bbbb-cccc-ddddeeeeffff 00000001-aaaa-bbbb-cccc-ddddeeeeffff 00000002-aaaa-bbbb-cccc-ddddeeeeffff
Returns a dummy UUID object 'cafebabe-1953-0510-0970-0123456789ff'
Returns a dummy UUID object 'cafebabe-1953-0510-0970-0123456789ff'
Returns a dummy UUID string 'cafebabe-1953-0510-0970-0123456789ff'
Returns a dummy UUID string 'cafebabe-1953-0510-0970-0123456789ff'
Returns a null UUID object '00000000-0000-0000-0000-000000000000'
Returns a null UUID object '00000000-0000-0000-0000-000000000000'
Returns a null UUID string '00000000-0000-0000-0000-000000000000'
Returns a null UUID string '00000000-0000-0000-0000-000000000000'
(rand)
Inputs: [] Returns: UUID
Returns a random uuid as a UUID object
Inputs: [] Returns: UUID Returns a random uuid as a UUID object
(rand-str)
Inputs: [] Returns: s/Str
Returns a random uuid as a String
Inputs: [] Returns: s/Str Returns a random uuid as a String
Returns true iff the string shows a valid UUID-like pattern of hex digits. Does not distinguish between UUID subtypes.
Returns true iff the string shows a valid UUID-like pattern of hex digits. Does not distinguish between UUID subtypes.
(with-counted & forms)
For testing, replace all calls to uuid/rand with uuid/counted
For testing, replace all calls to uuid/rand with uuid/counted
(with-null & forms)
For testing, replace all calls to uuid/rand with uuid/null
For testing, replace all calls to uuid/rand with uuid/null
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close