Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.29 KB

File metadata and controls

18 lines (12 loc) · 1.29 KB

IsEqual medium #utils

by Takahiro Kato @doz13189

Take the Challenge

Implements the equal operator that returns a boolean for whether the two given types are equal.

For example:

type X1 = 1
type Y1 = 1
type T1 = IsEqual<X1, Y1> // expected to be true

type X2 = 1
type Y2 = 2
type T2 = IsEqual<X2, Y2> // expected to be false

Back Share your Solutions Check out Solutions