longValue

fun StringValuesBuilder.longValue(name: String? = null, toLong: StringToLong = defaultStringToLong, toString: LongToString = defaultLongToString): ValueSingleDelegateProvider<Long?>(source)

Creates an optional parameter of type Long with the given name in this StringValuesBuilder instance.

If no name is provided, the property's name will be used.

Parameters

toLong

Method to use when converting from its String form to Long.

toString

Method to use when converting from its Long form to String.