Function frontOr

Get the first element of a range or return the second args

auto frontOr(T, El) (
  T range,
  El fallback
)
if (isInputRange!T && is(El == ElementType!T));