The extension of the data file.
This function examines the files selected by the user through the file input. It checks each file's extension, verifying that it is valid (.trc, .json, .solu, or .csv). It then asserts that there are not multiple files of the same extension and that there is at least one .trc or .json file. If any of these checks fail, it displays an error notification and throws an error. If all checks pass, it returns the extension of the first file.
This function will throw an error if:
Generated using TypeDoc
This function retrieves the type of the data file inputted by the user.