General utility functions.
General utility functions.
(duration d)
Coerce to a Duration
instance.
Coerce to a `Duration` instance.
(qualified-name x)
Given a keyword or symbol, returns the name converted to follow
OpenTelemetry conventions for attribute names; the name is converted to a
snake_case string, where namespace and name are separated by .
. Given any
other type of argument, returns it as a snake_case string.
Given a keyword or symbol, returns the name converted to follow OpenTelemetry conventions for attribute names; the name is converted to a snake_case string, where namespace and name are separated by `.`. Given any other type of argument, returns it as a snake_case string.
(timestamp t)
Coerce Instant
to a vector [amount ^TimeUnit unit]
.
Coerce `Instant` to a vector `[amount ^TimeUnit unit]`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close