assertTrue(isNumber("1")); assertTrue(isNumber("-3")); assertTrue(isNumber("+2")); assertTrue(isNumber("043")); assertFalse(isNumber("p3"));
See Implementation