string.toLowerCase()

Convert the calling string to lower case.

Signature

toLowerCase() => String

Description

The toLowerCase() method converts the calling string to lower case. The calling string isn’t changed.

Parameters

None

Return value

Type Description

String

Value of the calling string converted to lower case.

Examples

Convert an email address to lower case:

"john.doe@EXAMPLE.COM".toLowerCase()
"john.doe@example.com"

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!