swap method

$<S, T> swap()

returns new tuple swapping left one with right one.

Implementation

$<S, T> swap() => $($1, $0);