remove

IMD.remove(key)

Removes the key/value if such a key is present in the In Memory Data (cache).

Paramaters

The method has the following parameters:

ParametersDescription
keyThe key and its associated value to remove.

Example

IMD.put("newTempPassword", "123456");
IMD.remove("newTempPassword");
console.log(IMD.get("newTempPassword"));
null