March 2017
Beginner
358 pages
9h 51m
English
Here, we determine whether or not to display a message based on the value returned from a true/false property:
if (gs.getProperty('custom_app.module.show_message') === 'true') { gs.addInfoMessage('some message'); }
In the preceding snippet, we strictly compare the property value with the string true, because the getProperty() method returns a string value here.
Read now
Unlock full access