effect-tree
    Preparing search index...

    Encode a string tree into a YAML-like indented format where indentation, be default set at 2 spaces, indicates node depth.

    The tree to be encoded.

    Optional number of space characters that separate adjacent tree levels. Default is 2.

    • Parameters

      • self: Tree<string>
      • Optionalindent: number

      Returns [string, ...string[]]

    • Parameters

      • Optionalindent: number

      Returns (self: Tree<string>) => [string, ...string[]]