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

MorphVariant

type MorphVariant<T> = T extends number ? `${T}` | T : T extends "true" ? boolean | T : T extends "false" ? boolean | T : T extends `${number}` ? number | T : T;

§Type Parameters

§Type

§
T extends number ? `${T}` | T : T extends "true" ? boolean | T : T extends "false" ? boolean | T : T extends `${number}` ? number | T : T
[src]