Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/builder / Function

isCacheValid

Checks if cache is valid for given files

Presentation

function isCacheValid(id: string, cache: NgDocCachedData<unknown>): boolean;

Returns

boolean

Parameters

NameTypeDescription
id
string

unique id for cache

cache
NgDocCachedData<unknown>

cache object