📦Free shipping over $10 in most countries and regions!



isGraph()

[Characters]

Description

Analyse if a char is printable with some content (space is printable but has no content). Returns true if thisChar is printable.

Syntax

isGraph(thisChar)

Parameters

thisChar: variable. Allowed data types: char.

Returns

true: if thisChar is printable.

Example Code

if (isGraph(myChar)) {  // tests if myChar is a printable character but not a blank space.
  Serial.println("The character is printable");
}
else {
  Serial.println("The character is not printable");
}