Is empty?
Description
Pure function returning true if text has zero characters. Whitespace-only strings are not considered empty — pass through trim first if needed.
When to use
Use Is empty? to guard against blank inputs before processing — for example, aborting a pipeline when a required field is missing. Because whitespace-only strings return false, apply Trim upstream when you want to treat strings like " " as empty. Connect the boolean result to Branch to choose between the empty and non-empty execution paths.
Pins
Input pins
| Pin | Type | Default | Notes |
|---|---|---|---|
| Text | string | — | The string to check. Only the empty string (length 0) returns true. |
Output pins
| Pin | Type | Notes |
|---|---|---|
| Result | boolean | True if text has zero characters; false otherwise. |
Example
Require that an API key parameter is provided in the request. Wire the body through Stream to string and Trim, then feed the Result output of Trim into the Text input of Is empty?. Connect the Result output to the Condition input of Branch — the True execution output routes to Fail with an “API key required” message, preventing downstream nodes from receiving a blank input.