isEmpty isEmpty

Renvoie « true » si la chaîne du paramètre ne contient aucun caractère.

Catégorie

Chaîne

Syntaxe de la fonction

isEmpty(<parameters>)

Paramètres

  • chaîne

Signature et type renvoyé

isEmpty(<string>)

Renvoie une valeur booléenne.

Exemple

isEmpty("")

Renvoie true.

isEmpty("Hello World")

Renvoie false.

recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9