diff --git a/Language/Functions/Characters/isUpperCase.adoc b/Language/Functions/Characters/isUpperCase.adoc index f3ec3084f..bfff4656d 100644 --- a/Language/Functions/Characters/isUpperCase.adoc +++ b/Language/Functions/Characters/isUpperCase.adoc @@ -1,82 +1,78 @@ ---- -title: "isUpperCase()" -categories: [ "Functions" ] -subCategories: [ "Characters" ] ---- - - - - - -= isUpperCase(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Description -Analyse if a char is upper case (that is a letter in upper case). Returns true if thisChar is upper case. -[%hardbreaks] - - -[float] -=== Syntax -[source,arduino] ----- -`isUpperCase(thisChar)` ----- - -[float] -=== Parameters -`thisChar`: variable. *Allowed data types:* char - -[float] -=== Returns -`true`: if thisChar is upper case. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Example Code - -[source,arduino] ----- -if (isUpperCase(this)) // tests if this is an upeer case letter -{ - Serial.println("The character is upper case"); -} -else -{ - Serial.println("The character is not upper case"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== See also - -[role="language"] -* #LANGUAGE# link:../../../variables/data-types/char[char] -* #LANGUAGE# link:../../../structure/control-structure/if[if (conditional operators)] -* #LANGUAGE# link:../../../structure/control-structure/while[while (conditional operators)] -* #LANGUAGE# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isUpperCase()" +categories: [ "Functions" ] +subCategories: [ "Characters" ] +--- + += isUpperCase(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Description +Analyse if a char is upper case (that is, a letter in upper case). Returns true if thisChar is upper case. +[%hardbreaks] + + +[float] +=== Syntax +[source,arduino] +---- +`isUpperCase(thisChar)` +---- + +[float] +=== Parameters +`thisChar`: variable. *Allowed data types:* char + +[float] +=== Returns +`true`: if thisChar is upper case. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Example Code + +[source,arduino] +---- +if (isUpperCase(this)) // tests if this is an upper case letter +{ + Serial.println("The character is upper case"); +} +else +{ + Serial.println("The character is not upper case"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== See also + +[role="language"] +* #LANGUAGE# link:../../../variables/data-types/char[char] +* #LANGUAGE# link:../../../structure/control-structure/if[if (conditional operators)] +* #LANGUAGE# link:../../../structure/control-structure/while[while (conditional operators)] +* #LANGUAGE# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS