Table of Contents

Marble diagram

The MaxBy operator collects all the specified keys from values in the source sequence and emits a single value representing the value with the largest key. The single result value is emitted only when the source sequence terminates successfully.

Examples

Use MaxBy to return the list of values with the largest key.

MaxBy Example