Arduino Function: Ciao.isEmpty

Description

The isEmpty function enables the user to check if the CiaoData object is empty. Returns true if the operation isn’t yet completed by the connector, or false if the operation is completed and data is available.

Syntax

data.isEmpty()

Examples

if(data.isError()){

String id = data.get(0);

String error = data.get(2);

 

Serial.println("Error:" + error);

 }

Written by arduino.org