code: public static <E> OptionalFunction<Selection<Element>, E> getValue() {
      return OptionalFunction.of(selection -> selection.result().getValue());
    }
docs: Returns a function that gets the value of a selected element.
  
  @return a function that gets the value of a selected element.