orElseForUndefinable
Return input as T
if the passed input is not undefined
.
Otherwise, return the result of recoverer.
function orElseForUndefinable<T>(input: Undefinable<T>, recoverer: UndefinableTryRecoveryFn<T>): Undefinable<T>;
§
orElseForUndefinable<T>(input: Undefinable<T>, recoverer: UndefinableTryRecoveryFn<T>): Undefinable<T>
[src]