---
title: "Is Truthy"
description: "Route true when the value counts as yes (true, non-zero, non-empty text)."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/condition/is-truthy"
---
# Is Truthy

> Route true when the value counts as yes (true, non-zero, non-empty text).

<block-meta block="Yes" channels="Any" folder="basic/condition" group="Condition" groupTo="/build/workflows/blocks/condition" icon="i-lucide-thumbs-up" pipe="Value" scope="Any" tool="No" type="cond.is-truthy">



</block-meta>

**Is Truthy** checks one context variable and continues on **true** when the value counts as yes: `true`, a non-zero number, or text that is not empty. `false`, `0`, empty text, and missing/null take **false**.

Empty lists and empty objects still count as yes here. Use [Is Not Empty](https://docs.vettero.com/build/workflows/blocks/condition/is-not-empty) if those should take **false**.

Use [Is Falsy](https://docs.vettero.com/build/workflows/blocks/condition/is-falsy) for the inverse.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Variable
      </strong>
    </td>
    
    <td>
      Context path to test (<code>
        args.*
      </code>
      
      , <code>
        pipe.*
      </code>
      
      , named variables, and so on)
    </td>
  </tr>
</tbody>
</table>

If **Variable** is not set, the run takes the **false** path.

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues when the value counts as yes
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        False
      </strong>
    </td>
    
    <td>
      Continues when the value counts as no
    </td>
  </tr>
</tbody>
</table>

Connect both outlets if every path should keep running. An unconnected outlet ends that branch.

## Pipe schema

The next block reads this on the data pipe (`pipe.value`).

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Result
    </td>
    
    <td>
      boolean
    </td>
    
    <td>
      <code>
        true
      </code>
      
       when the value counts as yes
    </td>
  </tr>
</tbody>
</table>

## Use case

- Branch on a boolean flag from arguments, a table, or an earlier block.
- Treat `0` and empty text as “off” without listing every case in a [Condition](https://docs.vettero.com/build/workflows/blocks/condition/condition) query.
- Use [Is Not Empty](https://docs.vettero.com/build/workflows/blocks/condition/is-not-empty) when a numeric `0` should still continue (it is not an empty value).

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
