Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 1.62 KB

File metadata and controls

12 lines (8 loc) · 1.62 KB

Absolute medium #math #template-literal

by Andrey Krasovsky @bre30kra69cs

Take the Challenge    简体中文 日本語

Implement the Absolute type. A type that take string, number or bigint. The output should be a positive number string

For example

type Test = -100;
type Result = Absolute<Test>; // expected to be "100"

Back Share your Solutions Check out Solutions