TCA.unmask

Unmasks masked text.

TCA.unmask(text);

Arguments

text. (string) The masked text.

Return value

A promise that is fulfilled with a string, which is the text after unmasking.

Example

Copy code
TCA.unmask(str).then(function(result){ 
  TCA.done(result);
}).catch(function (error) {
  TCA.doneWithError(error);
});