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

toNullableFromMaybe

Return null if input is null or undfined. Otherwise, return T directly.

function toNullableFromMaybe<T>(input: Maybe<T>): Nullable<T>;
§
toNullableFromMaybe<T>(input: Maybe<T>): Nullable<T>
[src]

§Type Parameters

§Parameters

§
input: Maybe<T>
[src]

§Return Type

§
Nullable<T>
[src]