effect-tree
    Preparing search index...

    Function sliceForest

    • Get a slice from the forest of the given tree. An empty path will return the given tree.

      Type Parameters

      • A

        Underlying tree type.

      Parameters

      • self: Tree<A>

        The tree to query. accepted.

      • low: number

        Index of slice start.

      • Optionalhigh: number

        Optional length of slice. Default is a single tree node.

      Returns Tree<A>[]

      Possibly empty list of trees.

    Index

    Properties

    Properties

    curry: (low: number, high?: number) => <A>(self: Tree<A>) => Tree<A>[]
    flip: <A>(self: Tree<A>) => (low: number, high?: number) => Tree<A>[]