Contains function to generate random quotes data.
Contains function to generate random quotes data.
Returns a map of key => language code and value as the language name supported by this namespace. The map is sorted by language name (for readability purpose)
Returns a map of key => language code and value as the language name supported by this namespace. The map is sorted by language name (for readability purpose)
(rand-quote)
(rand-quote {:keys [lang fallback-lang]
:or {fallback-lang default-language lang default-language}})
Gives you one random quote string out of the collection. lang => :en, :hi etc Default :en fallback-lang => if the given lang is missing use this lang Default :en
Gives you one random quote string out of the collection. lang => :en, :hi etc Default :en fallback-lang => if the given lang is missing use this lang Default :en
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close