require("js-whatever/js/escape-hod-identifier")(input) → {string}
Escape colons in HOD identifiers. HOD identifiers (domain names, application names, index names etc) can be
concatenated with colons. In these cases, : must become \: and \ must become \.
Parameters:
| Name | Type | Description |
|---|---|---|
input |
string | The input string |
- Source:
Returns:
The escaped string
- Type
- string
- Source: