Member group
FirstOrNone
Type: EnumerableOption<T>
Namespace: System.Linq
Assembly: Raven.Core.dll
Source file: LinqExtensions.rvn
Overloads / Variants
FirstOrNone
static func FirstOrNone<T>(self: IEnumerable<T>, predicate: T -> bool) -> Option<T>
Source file: LinqExtensions.rvn
Returns the first matching element as Some, or None when no element matches.
FirstOrNone
static func FirstOrNone<T>(self: IEnumerable<T>) -> Option<T>
Source file: LinqExtensions.rvn
Returns the first element as Some, or None for an empty sequence.