effect-tree
    Preparing search index...

    Variable unzipConst

    unzip: <A, B>(t: Tree<[A, B]>) => [Tree<A>, Tree<B>] = ...

    Unzip a tree of [A, B] into a pair of congruent trees of types A and B.

    const zippedTree: Tree<[string, number]> = tree(
    ['a', 1],
    [leaf(['b', 2])],
    )

    const [left, right] = unzip(zippedTree)
    // left = branch('a', [leaf('b')])
    // right = branch( 1 , [leaf( 2 )])

    Type Declaration