Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 433 Bytes

File metadata and controls

27 lines (21 loc) · 433 Bytes
layout api-command
language JavaScript
permalink api/javascript/is_empty/
command isEmpty
related_commands
offsetsOf
offsets_of/
io
sequence
bool

Command syntax

{% apibody %} sequence.isEmpty() → bool {% endapibody %}

Description

Test if a sequence is empty.

Example: Are there any documents in the marvel table?

r.table('marvel').isEmpty().run(conn, callback)