Question

Write a function to check if string contains only digits?

Login to Submit

Examples

Input: "234"
Output: true

Input: "234a"
Output: false