is_mapping_type

glotaran.model.util.is_mapping_type(t: type) bool[source]

Check if the type is mapping.

Parameters

t (type) – The type to check.

Returns

Whether the type is a mapping.

Return type

bool