effect-tree
    Preparing search index...

    Interface UnlinesDraw<A>

    Type of the unlines draw function: a BaseDraw that outputs to a non-empty array of strings, and has a variant under the unlines key.

    At the key unlines you will find a version that draws to a string instead of a NonEmptyArray<string> by joining the rows with newlines.

    A function of the type:

    {
    (self: Tree<A>): NonEmptyArray<string>
    unlines: (self: Tree<A>) ⇒ NonEmptyArray<string>
    }
    interface UnlinesDraw<A> {
        unlines: BaseDraw<A, string>;
        (self: Tree<A>): [string, ...string[]];
    }

    Type Parameters

    • A

      Underlying type of the tree being printed.

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    unlines: BaseDraw<A, string>