Menu

gitpiper

isLowerCase javascript Code Snippet in 2024

stringbeginner

Last Updated: 18 July 2024

Checks if a string is lower case.

  • Convert the given string to lower case, using String.prototype.toLowerCase() and compare it to the original.
const isLowerCase = str => str === str.toLowerCase();
isLowerCase('abc'); // true isLowerCase('a3@$'); // true isLowerCase('Ab4'); // false

javascript snippet similar to isLowerCase For You in July 2024

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️

© 2024 GitPiper. All rights reserved

Rackpiper Technology Inc

Company

About UsBlogContact

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️