Small helpers shared across the SDK's namespaces.
Small helpers shared across the SDK's namespaces.
(as-seq x)Coerce x into a sequence: nil -> (), a single non-sequential value ->
a one-element seq, anything already sequential -> itself unchanged. Mirrors
the reference Ruby SDK's use of Array() for optional/repeatable options
(e.g. :mounts, :attach-disk, :key).
Coerce `x` into a sequence: `nil` -> `()`, a single non-sequential value -> a one-element seq, anything already sequential -> itself unchanged. Mirrors the reference Ruby SDK's use of `Array()` for optional/repeatable options (e.g. `:mounts`, `:attach-disk`, `:key`).
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 |