legate.core.Type.is_primitive#

Type.is_primitive#

bool

Get whether a type is “primitive”.

Primitive types are generally those that are “built in”, such as int32_t, uin64_t, float, double, int, etc. Struct types, list types, and other such compound types are not primitive.

Returns:

True if the type is primitive, False otherwise.

Return type:

bool

Type:

Type.is_primitive