Write a function to check if string contains only digits? function solve( a ){ //write your code here } Login to Submit
Input: "234" Output: true Input: "234a" Output: false