getOption

The first option with the specified name.

Return

The first option with the specified name.

Parameters

name

The name of the option.


open fun <T> getOption(name: String, resolver: (SlashOptionGetter) -> T): T?(source)

The option with the specified name.

Return

The option with the specified name.

Parameters

name

The name of the option.

resolver

The resolver to use.