Skip to content

BoxMap

BoxMap<KeyType, ValueType>(options?): (key) => BoxValue<ValueType>

A mapping of one type to another in box storage. Each key is a seperate box.

Type parameters

• KeyType

• ValueType

Parameters

• options?

• options.allowPotentialCollisions?: boolean

• options.dynamicSize?: boolean

• options.prefix?: string

Returns

Function

Parameters

• key: KeyType

Returns

BoxValue<ValueType>

Source

types/global.d.ts:622