Skip to content

Commit

Permalink
docs: update docs with coll? functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
theanalyst committed Jan 12, 2014
1 parent f159f14 commit bd53416
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/language/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd53416

Please sign in to comment.