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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |