checkMode

@JvmStatic
fun checkMode(mode: String)(source)

Checks if a String is a valid mode.

Parameters

mode

The 3 character mode to check.

Throws

IllegalArgumentException

If mode is invalid.