foundation-utils.jsonreplacer
Home > @genesislcap/foundation-utils > JSONReplacer
JSONReplacer() function
JSON replacer function.
Signature:
export declare function JSONReplacer(key: string, value: any): any;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string |
The object key. |
|
value |
any |
The key value. |
Returns:
any
The resulting value.