isTextFileName

fun isTextFileName(fileName: String?): Boolean

Return

true if the extension for the file is txt or TXT

Parameters

fileName

the name of the file as a string