https://kotlinlang.org logo
r

Ruckus

02/07/2017, 10:21 PM
Copy code
inline fun <reified T> hasCommandType(): Boolean {
    return queue.any { it is T }
}