isNotEmpty

Last update: 2021-06-02
  • Created for:
  • Experienced
    Developer

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