Luna::is_primitive_type

bool is_primitive_type(typeinfo_t type)

Checks whether one type is a primitive type.

Parameters

  • in type

    The type object to check.

Return value

Returns true if the specified type is a primitive type. Returns false otherwise.

Valid Usage

  • type must specify one valid type object.