has

fun has(name: String): Boolean

Checks if there is an argument under the given name

Return

True if there is an argument under the given name, false otherwise

Parameters

name

The name of the argument


fun has(index: Int): Boolean

Checks if there is an argument under the given index

Return

True if there is an argument under the given index, false otherwise

Parameters

index

The index of the argument