mapping.exists
Returns true
or false
if the mapping exists or does not.
js
mapping.exists(mappingName);
Parameters
mappingName
- An identifier used to find the target mapping.
Example
js
if(mapping.exists("Time to Year and Month")) {
//it exists
}
TIP
If a mapping exists with this name the code inside the if statement will run, otherwise it will be skipped.