effect-tree
    Preparing search index...
    • Decode a list of indented lines into a string tree.

      Parameters

      • lines: [string, ...string[]]

        non-empty array of non-empty strings, each encoding a tree node with indent set as a multiple of node depth.

      Returns Tree<string>

      A decoded string tree.