The _type() method.

The _type() method allows for inspecting the following object types.

  • string
  • integer
  • boolean
  • float
  • color
  • table
  • line
  • label
  • box
  • linefill
  • array<type>
  • matrix<type>

_type()

Get the type of an object.

  • Name
    this
    Type
    object
    Description

    Any object of type string, integer, boolean, float, color, table, line, label, box, linefill, array<type>, or matrix<type>.

  • Name
    returns
    Type
    string
    Description

    A string representation of the object type.