---
title: "is not empty · RUAL Documentation"
description: "checks if the value is filled (not empty)"
canonical: https://docs.rual.nl/block-types/condition/condition_not_empty_value
language: en
---

# is not empty

This block is part of the [`condition`](https://docs.rual.nl/block-types/condition) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

checks if the value is filled (not empty)

- Value required `value` The value to be checked.

- condition `condition` The condition that tells if the given value is filled (not empty).

True when the value pin is neither nil/missing nor the empty string. Everything else counts as NOT empty: 0, false, whitespace, empty arrays, and empty objects all output true.

[is not empty](https://docs.rual.nl/block-types/condition/condition_not_empty_value) outputs true when the value on its pin contains something. Here it checks a field read with [get fields](https://docs.rual.nl/block-types/object/object_field_getter_multiple) before a [branch](https://docs.rual.nl/block-types/flow/branch) decides whether the flow continues, the classic guard against empty document fields.

![Studio canvas example for the is not empty block: guarding against empty values.](https://docs.rual.nl/canvas-examples/condition_not_empty_value.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [get fields](https://docs.rual.nl/block-types/object/object_field_getter_multiple): feeds into this block. Gets the selected fields from the given object.

- [branch](https://docs.rual.nl/block-types/flow/branch): this block feeds into it.

- [AND](https://docs.rual.nl/block-types/condition/condition_and): this block feeds into it. operator for a set of boolean operands will be true if and only if all the operands are true.

- [if](https://docs.rual.nl/block-types/mutations/mutations_branch): this block feeds into it. use mutations X or Y based on a condition.

- [if](https://docs.rual.nl/block-types/value/value_branch): this block feeds into it. Conditional branching for values (if.. then.. else..). Selects which input value is passed through; it does not route flow.

- [create](https://docs.rual.nl/block-types/globals/trigger_custom_function): feeds into this block. Creates a new function that can be executed using the given name.

### Used in these guides

These documentation pages use or explain this block:

- [Creating a REST API](https://docs.rual.nl/tutorials/rest-api)

- [Common Blueprint Patterns](https://docs.rual.nl/blueprints/common-patterns)

- [Block Templates, Combinations That Work](https://docs.rual.nl/block-types/block-templates)

- [Block Quick Reference](https://docs.rual.nl/reference/block-quick-reference)

- [Build Your First API](https://docs.rual.nl/cluster/api-quickstart)

- [Finding Blocks](https://docs.rual.nl/block-types/finding-blocks)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
