Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "zipper"

Index

Functions

Const arrayZipper

  • arrayZipper<T>(root: T[]): Location<T | T[]>

Const changedPath

  • changedPath<T>(path?: Path<T>): undefined | { changed: boolean }
  • Type parameters

    • T

    Parameters

    • Optional path: Path<T>

    Returns undefined | { changed: boolean }

Const newPath

  • newPath<T>(l: T[] | undefined, r: T[] | undefined, path: Path<T> | undefined, nodes: T[], changed?: boolean): Path<T>
  • Type parameters

    • T

    Parameters

    • l: T[] | undefined
    • r: T[] | undefined
    • path: Path<T> | undefined
    • nodes: T[]
    • Default value changed: boolean = false

    Returns Path<T>

Const zipper

Generated using TypeDoc