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