isLowerCase

Summary

Checks if the alphabetical characters in the string are lowercase letters.

Usage

public bool isLowerCase()

Returns

A Boolean value indicating whether the string's alphabetical characters are all lowercase letters: true if all alphabetical characters in the string are lowercase letters or false if the string contains at least one non-lowercase letter.

Description

Checks if the string is composed of only lowercase alphabetical letters (a-z).

Examples

Basic Usage
1
2
3
4
5
6
7
8
9
import System;
 
string foo = "foo";
string bar = "Bar";
string baz = "BAZ";
 
Console.log(foo.isLowerCase()); // true
Console.log(bar.isLowerCase()); // false
Console.log(baz.isLowerCase()); // false

Share

HTML | BBCode | Direct Link