min


Description:

public Future<Optional<G>> min (owned CompareDataFunc<G>? compare = null)

Returns the minimum element of this seq, based on the given compare function.

This is a terminal operation.

Parameters:

compare

a non-interfering and stateless compare function. if not specified, Gee.Functions.get_compare_func_for is used to get a proper function

Returns:

a future of an optional describing the minimum element, or an empty optional if the seq is empty