updated isDigit doc to new layout