Arguments.getInt

Convenience method to get the integer value of the parameter assigned to an argument. This is valid only if the argument has been assigned exactly one parameter.

class Arguments
T
getInt
(
T
)

Parameters

T

type of integer to return

name cstring

name of the argument

Return Value

Type: T

integer value of the parameter assigned to the argument 0 if value is missing or not a valid integer

Meta