Luna::VariantType

enum VariantType : u8
{
    null= 0
    object= 1
    array= 2
    number= 3
    string= 4
    boolean= 5
    blob= 6
}

Defines all possible types of one Variant object.

Remark

To fetch the type of one variant, call Variant::type

Options

  • null

    Indicates a null variant.

  • object

    Indicates an object variant.

  • array

    Indicates an array variant.

  • number

    Indicates a number variant.

  • string

    Indicates a string variant.

  • boolean

    Indicates a Boolean variant.

  • blob

    Indicates a BLOB (binary large object) variant.