private fun getBoolean(number: Int, nth: Int): Boolean

Gets whether the nth digit of a number is even

Return

Whether the nth digit is even

Parameters

number

The number to get the digit from

nth

The index of the digit to get