This is primarily to check if the type is a primitive.
If the primitive is a number, find the "depth", the most complex is f64, then i64, then u64.
Otherwise, if the primitives don't match, throw an error.
If the type is NOT a primitive, ensure that all types in the array match
This is primarily to check if the type is a primitive. If the primitive is a number, find the "depth", the most complex is f64, then i64, then u64. Otherwise, if the primitives don't match, throw an error. If the type is NOT a primitive, ensure that all types in the array match