16. implement FirstChar<T>
シェアしよう
- accepted / - tried
頭文字を返すFirstChar<T>
を実装してください。
type A = FirstChar<'BFE'> // 'B'type B = FirstChar<'dev'> // 'd'type C = FirstChar<''> // never
- accepted / - tried
頭文字を返すFirstChar<T>
を実装してください。
type A = FirstChar<'BFE'> // 'B'type B = FirstChar<'dev'> // 'd'type C = FirstChar<''> // never