Skip to content

Files

Latest commit

2307327 · Feb 21, 2019

History

History
79 lines (55 loc) · 1.23 KB

isControl.adoc

File metadata and controls

79 lines (55 loc) · 1.23 KB
title categories subCategories
isControl()
Functions
Characters

isControl(thisChar)

Description

Analyse if a char is a control character. Returns true if thisChar is a control character.

Syntax

isControl(thisChar)

Parameters

thisChar: variable. Allowed data types: char

Returns

true: if thisChar is a control character.

Example Code

if (isControl(myChar)) {  // tests if myChar is a control character
  Serial.println("The character is a control character");
}
else {
  Serial.println("The character is not a control character");
}

See also