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

toNullableFromOption

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

function toNullableFromOption<T>(input: Option<T>): Nullable<T>;
§
toNullableFromOption<T>(input: Option<T>): Nullable<T>
[src]

§Type Parameters

§Parameters

§
input: Option<T>
[src]

§Return Type

§
Nullable<T>
[src]