Skip to main

defaultIfEmpty

defaultIfEmpty

Source Location: packages/core/src/source.ts#L2361

Signature

function defaultIfEmpty<T>(
getDefaultValue: () => T,
): <U>(source: Source<U>) => Source<T | U>