Skip to content

Latest commit

 

History

History
 
 

02257-medium-minusone

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

MinusOne medium #math

by Mustafo Faiz @fayzzzm

Take the Challenge    简体中文

Given a number (always positive) as a type. Your type should return the number decreased by one.

For example:

type Zero = MinusOne<1> // 0
type FiftyFour = MinusOne<55> // 54

Back Share your Solutions Check out Solutions