Skip to content

mapping.exists ​

Checks whether a mapping exists.

js
mapping.exists(mappingName)

Parameters ​

ParameterTypeDescription
mappingNamestringThe mapping's name or id.

Returns ​

boolean

true if the mapping exists, otherwise false.

Examples ​

js
if (mapping.exists("Time to Year and Month")) {
    // it exists
}