bool compareTypes(Iterable<Object?> objects) => objects.indexed.every((e) => fields[e.$1].isTypeOf(e.$2));