last.or = <T>(defaultValue: T) => compose<[Nullable<T[]>], Nullable<T>, T>(
  ifNull(defaultValue),
  last
);