Skip to content

Fixed upeer to upper in isUpperCase() #412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 3, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 78 additions & 82 deletions Language/Functions/Characters/isUpperCase.adoc
Original file line number Diff line number Diff line change
@@ -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