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