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

    Function prefixGlyph

    • Given a Theme and a GlyphRole, returns a function that will prefix a string with the correct glyph.

      Parameters

      Returns (
          role:
              | "space"
              | "elbow"
              | "hLine"
              | "indent"
              | "rightTee"
              | "tee"
              | "vLine"
              | "rootBullet"
              | "branchBullet"
              | "leafBullet",
      ) => EndoOf<string>

      The prefixed string.

        • (
              role:
                  | "space"
                  | "elbow"
                  | "hLine"
                  | "indent"
                  | "rightTee"
                  | "tee"
                  | "vLine"
                  | "rootBullet"
                  | "branchBullet"
                  | "leafBullet",
          ): EndoOf<string>
        • The GlyphRole required.

          Parameters

          • role:
                | "space"
                | "elbow"
                | "hLine"
                | "indent"
                | "rightTee"
                | "tee"
                | "vLine"
                | "rootBullet"
                | "branchBullet"
                | "leafBullet"

          Returns EndoOf<string>