effect-tree
    Preparing search index...

    Variable suffixGlyphConst

    suffixGlyph: (
        theme: Draw.Theme,
    ) => (
        role:
            | "tee"
            | "rightTee"
            | "elbow"
            | "hLine"
            | "vLine"
            | "indent"
            | "space"
            | "rootBullet"
            | "branchBullet"
            | "leafBullet",
    ) => EndoOf<string> = ...

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

    Type Declaration

      • (
            theme: Draw.Theme,
        ): (
            role:
                | "tee"
                | "rightTee"
                | "elbow"
                | "hLine"
                | "vLine"
                | "indent"
                | "space"
                | "rootBullet"
                | "branchBullet"
                | "leafBullet",
        ) => EndoOf<string>
      • Parameters

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

        The suffixed string.

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

            Parameters

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

            Returns EndoOf<string>