matching_types#
- maize.utilities.utilities.matching_types(arg1: Any, arg2: Any, strict: bool = False) bool[source]#
Checks if two types are matching.
- Parameters:
arg1 – The datatypes to compare
arg2 – The datatypes to compare
strict – If set, will only output
Trueif the types match exactly
- Returns:
Trueif the types are compatible,Falseotherwise- Return type: