isTextFile

fun isTextFile(pathToFile: Path?): Boolean

Return

true if extension on path is txt

Parameters

pathToFile

the path to the file, if null, return false