17. implement LastChar<T>
分享给更多人
-通过 / -执行
类似于FirstChar<T>,请实现LastChar<T>
。
type A = LastChar<'BFE'> // 'E'type B = LastChar<'dev'> // 'v'type C = LastChar<''> // never
-通过 / -执行
类似于FirstChar<T>,请实现LastChar<T>
。
type A = LastChar<'BFE'> // 'E'type B = LastChar<'dev'> // 'v'type C = LastChar<''> // never