Luna::is_enum_type

bool is_enum_type(typeinfo_t type)

Checks whether one type is an enumeration type.

Parameters

  • in type

    The type object to check.

Return value

Returns true if the specified type is an enumeration type. Returns false otherwise.

Valid Usage

  • type must specify one valid type object.