isDigit()
数字(0〜9)を確認します。
書式
boolean isDigit(int c)
引数
c :チェック対象の文字
戻り値
数字(0〜9)の場合 true
数字(0〜9)でない場合 false
解説
cが数字(0〜9)の場合はtrue、そうでない場合は、falseを返します。
本関数は、C標準ライブラリisdigit()を呼び出して判定しています。
License and Attribution: Portions of this page were adapted from the Arduino Reference Documentation, which is released under a Creative Commons Attribution-ShareAlike 3.0 License.
このドキュメントはleafLabs, LLC.が執筆し、たま吉が翻訳・一部加筆修正したものです。
Arduino STM32 リファレンス 日本語版 に戻る