We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
?
Transformation rule node: Script
// Create new map var map = { "temperature": 42, "smth": 22, "nonExistingKey": { "smth": 22 } }; // Null-Safe expressions using ? if (map.?nonExistingKey.smth > 10) { map.smth_check = true; } else { map.smth_check = false; } // Iterate through the map foreach(element: map.entrySet()) { // str = " " +str+ " "+ element.key+" "+element.value // Get the key element.key // // Get the value element.value; } // get map size map.size(); return {msg: map};
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Transformation rule node: Script
The text was updated successfully, but these errors were encountered: