isValid

inline fun <T> isValid(index: Int): Boolean

Checks if the value of an argument is valid by index

Return

True if the value is valid, false otherwise

Parameters

index

The index of the argument


inline fun <T> isValid(name: String): Boolean

Checks if the value of an argument is valid by name

Return

True if the value is valid, false otherwise

Parameters

name

The name of the argument