ResSimpy.Nexus.nexus_file_operations.value_in_file
- ResSimpy.Nexus.nexus_file_operations.value_in_file(token: str, file: list[str]) bool[source]
Returns true if a token is found in the specified file.
- Parameters:
token (str) – the token being searched for.
file (list[str]) – a list of strings containing each line of the file as a new entry
- Returns:
bool – True if the token is found and False otherwise