Skip to content

Documentation / @warp-drive/utilities / string / setMaxLRUCacheSize

ts
function setMaxLRUCacheSize(size): void;

Defined in: utilities/src/-private/string/transform.ts:120

Sets the maximum size of the LRUCache for all string transformation functions. The default size is 10,000.

Parameters

size

number

Returns

void

Since

4.13.0

Released under the MIT License.