Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 248 Bytes

equals.md

File metadata and controls

17 lines (10 loc) · 248 Bytes

比较类型是否相等

Equals<T1, T2>

举例

type A1 = 'yes';

type A2 = 'yes';


type EqualRlt = Equals<A1, A2>
// EqualRlt => 1