Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 1.75 KB

File metadata and controls

12 lines (8 loc) · 1.75 KB

String to Union medium #union #string

by Andrey Krasovsky @bre30kra69cs

Take the Challenge    简体中文 日本語 한국어

Implement the String to Union type. Type take string argument. The output should be a union of input letters

For example

type Test = "123"
type Result = StringToUnion<Test> // expected to be "1" | "2" | "3"

Back Share your Solutions Check out Solutions