updated isDigit validaotr doc