Test if a value is a lowercase string.
var isLowercase = require( '@stdlib/utils/is-lowercase' );
Tests if a value
is a lowercase string
.
var bool = isLowercase( 'salt and light' );
// returns true
bool = isLowercase( 'HELLO' );
// returns false
bool = isLowercase( 'World' );
// returns false
- This function validates that a
value
is astring
. For all other types, the function returnsfalse
.
var isLowercase = require( '@stdlib/utils/is-lowercase' );
var bool = isLowercase( 'hello' );
// returns true
bool = isLowercase( '' );
// returns false
bool = isLowercase( 'Hello' );
// returns false
bool = isLowercase( 'HELLO' );
// returns false