• The strLower() method returns the value of the string converted to lower case. strLower() does not affect the value of the string str itself.

    Type Parameters

    • T

    Parameters

    • value: T

    Returns string

    A new string representing the calling string converted to lower case.

    Since

    0.9.0

    Throws

    TypeError - When called on null or undefined.

    Example

    strLower("Hello");       // hello
    strLower("darkness"); // darkness

    strLower(null); // Throws TypeError
    strLower(undefined); // Throws TypeError