firstOrDefault

Returns the first element in an array that meets the conditionition

T
firstOrDefault
(
alias condition = x => true
T
)
(
T[] source
)

Meta