contains

operator fun CharRange.contains(file: File): Boolean

Extension function to check if a File is within a CharRange.

Return

true if the file is within the range, false otherwise.

Parameters

file

The File to check.


operator fun IntRange.contains(rank: Rank): Boolean

Extension function to check if a Rank is within an IntRange.

Return

true if the rank is within the range, false otherwise.

Parameters

rank

The Rank to check.