Skip to content

Commit

Permalink
clarify isdigit docs - ASCII digits only (#54492)
Browse files Browse the repository at this point in the history
The `isdigit` function only checks for ASCII digits — this PR clarifies
the docs to make that explicit.

See
#54447 (comment).
Closes #54447.
  • Loading branch information
stevengj authored May 16, 2024
1 parent c614cb6 commit b495857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/strings/unicode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ end
"""
isdigit(c::AbstractChar) -> Bool
Tests whether a character is a decimal digit (0-9).
Tests whether a character is an ASCII decimal digit (`0`-`9`).
See also: [`isletter`](@ref).
Expand Down

0 comments on commit b495857

Please sign in to comment.