isEmpty isEmpty

Returns true if the string in the parameter has no character.

Category

String

Function syntax

isEmpty(<parameters>)

Parameters

  • string

Signature and returned type

isEmpty(<string>)

Returns a boolean.

Example

isEmpty("")

Returns true.

isEmpty("Hello World")

Returns false.

recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76