Class: Unsafe

IndexedLens. Unsafe

new Unsafe(index) → {Lens}

Construct an Unsafe IndexedLens that throws errors when attempting to access elements that are out of bounds.

Parameters:
Name Type Description
index int

index The index to view on

Returns:
Type
Lens