The zipper represents the cursor of non-empty list.

Type Parameters

  • T

Hierarchy

  • Zipper

Properties

Properties

current: T

The current element picked up.

left: List<T>

The left side of zipper, its order is reversed from the source list.

right: List<T>

The right side of zipper, its order is same as the source list.

Generated using TypeDoc