Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to check alphabet case in javascript

function checkCase(ch) {
   if (!isNaN(ch * 1)){
      return 'ch is numeric';
   }
    else {
      if (ch == ch.toUpperCase()) {
         return 'upper case';
      }
      if (ch == ch.toLowerCase()){
         return 'lower case';
      }
   }
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: popos not showing applications 
Javascript :: res.write image url 
Javascript :: nodejs export all mongodb collections 
Javascript :: $("#id").submit in vanilla 
Javascript :: valueof js 
Javascript :: angular two way binding 
Javascript :: js get files 
Javascript :: form data to json 
Javascript :: how to add multiple style attributes in react element 
Javascript :: javascript xhr set parameters 
Javascript :: last row bold datatable 
Javascript :: array con doble javascript 
Javascript :: javascript code to test if screen is idle 
Javascript :: rendering an array inside an array in react 
Javascript :: toastr hides away quickly 
Javascript :: javascript remove item from url 
Javascript :: mouse over jest 
Javascript :: how to push object in array in javascript 
Javascript :: image file upload in angular 
Javascript :: js wrap function 
Javascript :: json schema eg 
Javascript :: how to pass a component as a prop in react 
Javascript :: document.queryselector scrolltop 
Javascript :: how to remove letters from an array javascript 
Javascript :: reactjs sweet alert 
Javascript :: remove string character in center javascript 
Javascript :: js currency converter 
Javascript :: phaser create animation from sprite sheet 
Javascript :: got bearer auth 
Javascript :: react js require pasword to have special charaacter 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =