Back to Type Challenges

README.Ja

questions/35252-medium-isalphabet/README.ja.md

latest1.4 KB
Original Source
<!--info-header-start--><h1>IsAlphabet </h1><blockquote><p>by Kanon <a href="https://github.com/ysknsid25" target="_blank">@ysknsid25</a></p></blockquote><p><a href="https://tsch.js.org/35252/play/ja" target="_blank"></a> &nbsp;&nbsp;&nbsp;<a href="./README.md" target="_blank"></a> </p><!--info-header-end-->

与えられた文字がアルファベットかどうかを判断する。

typescript
type isAlpha = IsAlphabet<'A'> // expected to be true
type isAlpha = IsAlphabet<'!'> // expected to be false
<!--info-footer-start-->

<a href="../../README.ja.md" target="_blank"></a> <a href="https://tsch.js.org/35252/answer/ja" target="_blank"></a> <a href="https://tsch.js.org/35252/solutions" target="_blank"></a> <!--info-footer-end-->