Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

toResultErrFromUndefinable

Return Ok<void> if input is undefinable. Otherwise, return Err<E> directly.

function toResultErrFromUndefinable<E>(input: Undefinable<E>): Result<void, E>;
§
toResultErrFromUndefinable<E>(input: Undefinable<E>): Result<void, E>
[src]

§Type Parameters

§Parameters

§Return Type

§
Result<void, E>
[src]