isCachedFunction
isCachedFunction(fn): boolean
Checks if a function is wrapped with cache functionality
if (isCachedFunction(myFunction)) {
console.log('Function is cached');
}
| Parameter | Type | Optional | Description |
|---|---|---|---|
| fn | GenericFunction | ❌ | Function to check |