Liking cljdoc? Tell your friends :D

sg.flybot.pullable.util

misc utility functions

misc utility functions
raw docstring

data-errorclj/s

(data-error data qid)
(data-error data qid reason)

returns an exception represent data is not as expected

  • data: the data been queries
  • qid: the query id being running
  • reason: a string general description
returns an exception represent data is not as expected
- `data`: the data been queries
- `qid`: the query id being running
- `reason`: a string general description
sourceraw docstring

error?clj/s

(error? x)

predict if x is error

predict if `x` is error
sourceraw docstring

named-lvar?clj/s

(named-lvar? x)

predict if x is a named logical value

predict if `x` is a named logical value
sourceraw docstring

named-lvars-in-patternclj/s

(named-lvars-in-pattern pattern)

returns named lvars in pattern

returns named lvars in `pattern`
sourceraw docstring

optional-requirecljmacro

(optional-require require-clause if-body else-body)

optionally try requre require-clause, if success, run if-body, else else-body

optionally try requre `require-clause`, if success, run `if-body`,
else `else-body`
sourceraw docstring

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

× close