(export-value {:keys [dim value direction values] :as token}
{:keys [date-fn] :as opts})
Given a token, returns its value for the outside world. Datetimes are modified by date-fn.
Given a token, returns its value for the outside world. Datetimes are modified by date-fn.
(resolve token context)
Given a token presumably produced by this module, returns a list of tokens with a resolved value. For time in particular, predicates are turned into actual time instants or intervals. It returns a list of tokens instead of just one, because several values may be possible. If the token cannot be resolved, :value must be removed.
Given a token presumably produced by this module, returns a list of tokens with a resolved value. For time in particular, predicates are turned into actual time instants or intervals. It returns a list of tokens instead of just one, because several values may be possible. If the token cannot be resolved, :value must be removed.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close