isNotEmpty

Returns true if the string in the parameter is not empty.

Category

String

Function syntax

isNotEmpty(<parameters>)

Parameters

  • string

Signature and returned type

isNotEmpty(<string>)

Returns a boolean.

Example

isNotEmpty("")

Returns false.

isNotEmpty("hello")

Returns true.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now