Convert to Boolean

data · A186 · starter-package 7.0.1

The Convert to Boolean block for Nodestly workflows converts a value into true or false.

Use it when

Convert only explicit boolean forms—true, false, 1, or 0—without truthiness guessing.

Inputs and outputs

  • Value — any, required.
  • Boolean — output boolean.

Controls

This object has no hidden settings; behavior is fully determined by connected input.

Rules

Only booleans, numeric 0 or 1, and the exact lowercase-insensitive text true, false, 1, or 0 are accepted. Other numbers, whitespace-padded text, null, and structures are intentionally ambiguous and fail.

Example

FALSE becomes false, while number 2 stops with a corrective error.

Failure behavior

Missing inputs, wrong connector values, unsafe records, unsupported values, cycles, unsupported modes, and size-limit violations stop the workflow and mark this block. Correct the highlighted connector or setting, then run again. Inputs are never changed.

Errors and recovery

When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Inputvalue — Valueanyyes
Outputresult — Booleanbooleanon success