hasNext

abstract fun <T> hasNext(clazz: Class<T>): Boolean(source)

Checks if the next argument exists and is of type T, returns true if so

Return

true if the argument exists, false if not

Parameters

clazz

Class of the requested type

<T>

Type of the requested argument