Liking cljdoc? Tell your friends :D

tupelo.tagval

Tupelo - Making Clojure even sweeter

Tupelo - Making Clojure even sweeter
raw docstring

newclj/s

(new tag value)

Inputs: [tag :- s/Keyword value :- s/Any] Returns: tsk/TagVal

Constructs a new TagVal as the literal {tag value}

Inputs: [tag :- s/Keyword value :- s/Any]
Returns: tsk/TagVal

Constructs a new TagVal as the literal `{tag value}` 
sourceraw docstring

tagclj/s

(tag arg)

Inputs: [arg :- tsk/TagVal] Returns: s/Keyword

Returns the keyword tag of a TagVal

Inputs: [arg :- tsk/TagVal]
Returns: s/Keyword

Returns the keyword tag of a TagVal
sourceraw docstring

tagval?clj/s

(tagval? arg)

Inputs: [arg :- s/Any] Returns: s/Bool

Returns true if arg is a TagVal: a keyword map with 1 entry.

Inputs: [arg :- s/Any]
Returns: s/Bool

Returns true if arg is a TagVal: a keyword map with 1 entry.
sourceraw docstring

untaggedclj/s

(untagged arg)

Inputs: [arg :- s/Any] Returns: s/Any

If given a TagVal, returns the value; else noop.

Inputs: [arg :- s/Any]
Returns: s/Any

If given a TagVal, returns the value; else noop.
sourceraw docstring

valclj/s

(val arg)

Inputs: [arg :- tsk/TagVal] Returns: s/Any

Returns value of a TagVal

Inputs: [arg :- tsk/TagVal]
Returns: s/Any

Returns value of a TagVal
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close