triple
fun <ValueT> NullableOption<ValueT, ValueT>.triple(): NullableOption<Triple<ValueT, ValueT, ValueT>, ValueT>
Change this option to take three values, held in a Triple.
This must be called after converting the value type, and before other transforms.
Example:
val opt: Triple<Int, Int, Int>? by option().int().triple()
Content copied to clipboard