The source iterable.
Type guard evaluated for each element. The returned value is narrowed to TFiltered.
The single element that satisfies predicate.
Returns the only element in the sequence or the only element that satisfies an optional predicate.
Type of elements within the source iterable.
The single element in source or the single element that satisfies predicate.
Thrown when source is empty.
Thrown when more than one element exists and predicate is omitted.
Thrown when predicate is provided and no element satisfies it.
Thrown when predicate is provided and more than one element satisfies it.
source is fully enumerated to validate uniqueness.
Returns the only element that satisfies the provided type guard predicate.