FirstOrVoid

Returns a single element sequence containing either the first element on the given sequence, if any, or a sequence with a void element.

Syntax

Sequence.FirstOrVoid
   ·  [sequence]

Parameters

sequence
The sequence to return the first element from, if any.

Return Value

A sequence containing a single element.