MQTTSuite
Loading...
Searching...
No Matches
mqtt::lib::plugins::double_plugin Namespace Reference

Functions

nlohmann::json myDouble (const inja::Arguments &args)

Function Documentation

◆ myDouble()

nlohmann::json mqtt::lib::plugins::double_plugin::myDouble ( const inja::Arguments & args)

Definition at line 72 of file Double.cpp.

72 {
73 const int number = args.at(0)->get<int>();
74 return 2 * number;
75 }