Skip to content

Latest commit

 

History

History

00529-medium-absolute

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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