Options
Menu

Interface ClearCacheOptions

Typings for the options that can be passed to clean-up methods like clearCache, clear or reset.

Hierarchy

  • ClearCacheOptions

Properties

Properties

Optional leaveFirst

leaveFirst: boolean

Set it to true to leave the first value in the cache while clearing the cache.

Optional leaveLast

leaveLast: boolean

Set it to true to leave the last value in the cache while clearing the cache.