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

StrictMorphVariant

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

§Type Parameters

§Type

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