Skip to content
Buy me a coffee

RANDOM_ACCESS

const RANDOM_ACCESS: unique symbol

Defined in: src/util/guards.ts:11

Brand key of the RandomAccess marker: a list whose [RANDOM_ACCESS] property is true has O(1) get(index). A registered symbol (Symbol.for), so separate copies of the library agree on it.