Function capitalizeFirstLowerTail

  • Returns the first letter uppercase and others lowercase representation of the given string

    Parameters

    • Optionaltext: null | string

      the source string to check

    Returns string | undefined | null

    the letter uppercase and others lowercase representation of the given string

    capitalizeFirstLowerTail('fooBar');    // 'Foobar'