docs: update docs with coll? functionality
This commit is contained in:
parent
f159f1499b
commit
bd53416a72
@ -6,6 +6,29 @@ Hy Core
|
||||
Core Functions
|
||||
===============
|
||||
|
||||
.. _is-coll-fn:
|
||||
|
||||
coll?
|
||||
----
|
||||
|
||||
.. versionadded:: 0.9.13
|
||||
|
||||
Usage: ``(coll? x)``
|
||||
|
||||
Returns true if argument is iterable and not a string.
|
||||
|
||||
.. code-block:: clojure
|
||||
|
||||
=> (coll? [1 2 3 4])
|
||||
True
|
||||
|
||||
=> (coll? {"a" 1 "b" 2})
|
||||
True
|
||||
|
||||
=> (coll? "abc")
|
||||
False
|
||||
|
||||
|
||||
.. _dec-fn:
|
||||
|
||||
dec
|
||||
|
Loading…
Reference in New Issue
Block a user