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

toUndefinableFromOption

Return T if input is Some(T). Otherwise, return undefined.

function toUndefinableFromOption<T>(input: Option<T>): Undefinable<T>;
§
toUndefinableFromOption<T>(input: Option<T>): Undefinable<T>
[src]

§Type Parameters

§Parameters

§
input: Option<T>
[src]

§Return Type

§
Undefinable<T>
[src]