Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumTypeScriptconditional-type distributionSingle-choice MCQ1 views

Which is the inferred type R?

type IsString<T> = T extends string ? true : false;\ntype R = IsString<string | number>;