Home > purgecss > ContentCache > has
ContentCache.has() method
Check if a file is in the cache, whether its entry is still valid or not
Signature:
has(filePath: string): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
filePath | string | path of the content file |
Returns:
boolean
