Skip to main content
1 of 2

PHP - 44

var_dump(max(count_chars($n))>1?false:true);

Or Proper function 53 Characters

function(){return max(count_chars($n))>1?false:true;}