Type guard for the Empty Part.
import {Draw} from 'effect-tree'const part1 = Draw.text('hello')const part2 = Draw.emptyexpect(Draw.isEmptyPart(part1), 'not empty').toBe(false)expect(Draw.isEmptyPart(part2), 'empty').toBe(true) Copy
import {Draw} from 'effect-tree'const part1 = Draw.text('hello')const part2 = Draw.emptyexpect(Draw.isEmptyPart(part1), 'not empty').toBe(false)expect(Draw.isEmptyPart(part2), 'empty').toBe(true)
Type guard for the Empty Part.