Skip to content

LongConverter

extendsConverter<Long>
Converters.kt

Properties

typeName

open override val typeName: String

A short name for the target type (for example "Int"), shown in help and error messages.

Converters.kt

Functions

convert

open override fun convert(raw: String): Long

Parses raw into a value of type T.

ThrowsArgotConversionException

if raw cannot be converted.

Converters.kt

Released under the Apache License 2.0.