Function: sanitizeProperty
EcomConfig.sanitizeProperty
▸ sanitizeProperty(path
, sanitizeFunc
): void
Set the value of a property located at provided path inside the CoreConfig to a value changed with a provided sanitizeFunction.
Parameters
Name | Type | Description |
---|---|---|
path |
string |
Path where the property is located inside the CoreConfig object. |
sanitizeFunc |
(property : string ) => string |
A function supplied to change the value of the target property. |
Returns
void
Last update:
October 22, 2024