data-validator-js
Version:
Validation Methods for all types of Data
16 lines (15 loc) • 386 B
TypeScript
export declare class CachingUtility {
private cache;
constructor();
/**
* Performs upsert function in the cache Dictionary
* @param key {string}
* @param value {any}
*/
Add(key: string, value: any): void;
/**
* Gets the Value entry for a corresponding key the cache Dictionary
* @param key {string}
*/
Get(key: string): any;
}