def array(self, name):
if name in self._navigable:<EOL><INDENT>if isinstance(self._navigable[name], (list, tuple)):<EOL><INDENT>return self[name]<EOL><DEDENT>else:<EOL><INDENT>raise NoArrayFoundError<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return ArrayOfTables(toml_file=self, name=name)<EOL><DEDENT>
Returns the array of tables with the given name.