Skip to content

clojure.core/struct-map

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 2 Runnable: 1
([s & inits])

Returns a new structmap instance with the keys of the structure-basis. keyvals may contain all, some or none of the basis keys - where values are not supplied they will default to nil. keyvals can also contain keys not in the basis.

Examples

by james on . May have evaluation errors.
by PetrGlad on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.