add documents for symbol?
This commit is contained in:
parent
dafcc7ec70
commit
487710c093
@ -736,6 +736,23 @@ Returns ``True`` if *x* is a string.
|
||||
=> (string? -2)
|
||||
False
|
||||
|
||||
.. _symbol?-fn:
|
||||
|
||||
symbol?
|
||||
-------
|
||||
|
||||
Usage: ``(symbol? x)``
|
||||
|
||||
Returns ``True`` if *x* is a symbol.
|
||||
|
||||
.. code-block:: hy
|
||||
|
||||
=> (symbol? 'foo)
|
||||
True
|
||||
|
||||
=> (symbol? '[a b c])
|
||||
False
|
||||
|
||||
.. _zero?-fn:
|
||||
|
||||
zero?
|
||||
|
Loading…
Reference in New Issue
Block a user