apps
latest
false
UiPath logo, featuring letters U and I in white
LEGACY

Apps User Guide

Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Aug 5, 2024

Function: IsBlank

Use this function to check if a trimmed value is empty. A true or false value is returned as output.

Note:

In some cases, a Count function can be used instead of IsBlank. For example, to check if a Multiselect dropdown control is empty, the Count function may be better.

The reason for this example is that IsBlank(EmptyMultiselect) is False when the control has an empty array (zero items), while the Count function Count(EmptyMultiselect)< 1 is True.

Syntax

Description

Example

IsBlank(Value)

Checks for a blank value.

docs image

Arguments

For more information on arguments, see the table below.

Argument

Type

Description

Value

Required

Any single value of any type.

Examples

Let's assume that we have the below Textboxes that contain the following values:

Textbox Name

Value/Content

EmptyTextbox

 

HelloTextbox

”Hello World”

Slider

0

We can apply the IsBlank function as follows:

  • IsBlank(””): True
  • IsBlank(” ”): True
  • IsBlank(”!”): False
  • IsBlank(“Grape”): False
  • IsBlank(EmptyTextbox): True
  • IsBlank(HelloTextbox): False
  • IsBlank(Slider): False
  • Arguments
  • Examples

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.