code: public <R> R map(@NonNull Function<Tuple, R> function) {
        return function.apply(this);
     }
docs: Maps the tuple to another a data type.
  
  @param <R>      the type being mapped to
  @param function the mapping function
  @return the result of the mapping function