Deno.ConditionalAsync - Deno documentation
type alias Deno.ConditionalAsync
Unstable

Type Parameters

IsAsync extends boolean | undefined
T

Definition

IsAsync extends true ? Promise<T> : T