splitIfNotEmpty
splitIfNotEmpty(
target):boolean
Defined in: renderer/src/internal/split-text-guard.ts:51
Split now, unless the text is empty. Reports whether it split, so a caller can skip the work that only makes sense around fresh segments.
Parameters
Section titled “Parameters”target
Section titled “target”AnySplitText
Returns
Section titled “Returns”boolean
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/renderer.md.