empty function. Collection.(Power Automate Cloud flows)

Japanese version.

This function checks to see if the text is zero characters long.

empty also has a function of the same name that checks whether one or more items exist in an array.

Spec

empty(<text>)
ArgumentDefaultDescription
textRequired fieldTarget string.

How to use

In many cases, it is used in "Condition".

It is also frequently used in "Boolean" variable manipulation.

Clicking on empty in the "Expression" tab sets the function name and () in the formula field.

Argument is one array.

When dynamic content or variables are used in expressions, special specifications are required.

(How to get dynamic content with expressions.)

If you see something like the following, the setup is complete.

You can change the contents of the function by clicking on the purple icon.

For example, empty('') will result in True because it is an empty character with 0 characters.

If even one character is present, the result will be False.

---

Links

String Functions(Power Automate Cloud flows)