---
title: "is not empty · RUAL Documentation"
description: "checks if the array is filled (not empty)"
canonical: https://docs.rual.nl/block-types/condition/condition_not_empty_array
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 array is filled (not empty)

- Array required `array` The array to be checked.

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

True only when the array pin holds an actual array with at least one element; false for an empty array, nil, missing, or any non-array value - a non-empty string or object still outputs false.

A typical wiring for [is not empty](https://docs.rual.nl/block-types/condition/condition_not_empty_array): [cast to array](https://docs.rual.nl/block-types/type%20casting/file_convert_to_array) feeds the `array` pin; the `condition` out pin feeds [branch](https://docs.rual.nl/block-types/flow/branch).

![Studio canvas example for the is not empty block: typical wiring for is not empty.](https://docs.rual.nl/canvas-examples/condition_not_empty_array.png)

### Commonly used with

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

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

- [cast to array](https://docs.rual.nl/block-types/type%20casting/file_convert_to_array): feeds into this block. Converts your given file to an array.

- [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.

- [OR](https://docs.rual.nl/block-types/condition/condition_or): this block feeds into it. operator for a set of operands is true if and only if one or more of its operands is true.

- [find by key - value](https://docs.rual.nl/block-types/array/array_get_objects_by_field_value): feeds into this block. Returns the matching objects for the given key value pair.

- [if](https://docs.rual.nl/block-types/array/array_branch): this block feeds into it. Conditional branching for arrays (if.. then.. else..).

### Version history

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