| layout | api-command | |||
|---|---|---|---|---|
| language | JavaScript | |||
| permalink | api/javascript/is_empty/ | |||
| command | isEmpty | |||
| related_commands |
|
|||
| io |
|
{% apibody %} sequence.isEmpty() → bool {% endapibody %}
Test if a sequence is empty.
Example: Are there any documents in the marvel table?
r.table('marvel').isEmpty().run(conn, callback)