effect-tree - v1.0.36
    Preparing search index...

    Function decode

    • Decode a list of leaf paths into a tree where. Every leaf given will appear in the tree at the given path.

      An Order for your type is required as the first argument.

      Under the keys string and number you will find version for string and numeric trees that already provide the required order.

      Type Parameters

      • A

      Parameters

      • order: Order<A>

      Returns (pathList: [[A, ...A[]], ...[A, ...A[]][]]) => Tree<A>

    Index

    Properties

    Properties

    number: (
        pathList: [[number, ...number[]], ...[number, ...number[]][]],
    ) => Tree<number>
    string: (
        pathList: [[string, ...string[]], ...[string, ...string[]][]],
    ) => Tree<string>