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

    Function vIndent

    • Returns the empty part if the given height is zero, else a zero-width column at the given height.

      Parameters

      • height: number

      Returns Draw.Part

      import {Draw} from 'effect-tree'
      const {vIndent, drawPart} = Draw

      expect(drawPart(vIndent(2))).toEqual(['', ''])
      expect(drawPart(vIndent(0))).toEqual([])