type_of

ReQL command: type_of

Command syntax

any.type_of() → string

Description

Gets the type of a ReQL query’s return value.

The type will be returned as a string:

  • ARRAY
  • BOOL
  • DB
  • FUNCTION
  • GROUPED_DATA
  • GROUPED_STREAM
  • MAXVAL
  • MINVAL
  • NULL
  • NUMBER
  • OBJECT
  • PTYPE<BINARY>
  • <