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 81 of file Double.cpp.

81 {
82 const int number = args.at(0)->get<int>();
83 return 2 * number;
84 }