Skip to content

mapping.delete

Deletes a mapping with the given name.

js
mapping.delete(mappingName);
mapping.delete(mappingName);

Parameters

  • mappingName - An identifier used to find the target mapping.

Example

js
let res = mapping.delete("Time to Year and Month");
let res = mapping.delete("Time to Year and Month");

If a mapping exists with this name the mapping will be deleted and the res variable will be set to true.