We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to check all my functions have docstrings but there is no function to check for a docstring.
@stevengj proposes
hasdoc(mod::Module, sym::Symbol) = haskey(Base.Docs.meta(mod), Base.Docs.Binding(mod, sym))
which could go in Test or Docs.
Test
Docs
The text was updated successfully, but these errors were encountered:
Close as duplicate of #51174, which has a more robust version of hasdoc
hasdoc
Sorry, something went wrong.
No branches or pull requests
I want to check all my functions have docstrings but there is no function to check for a docstring.
@stevengj proposes
which could go in
Test
orDocs
.The text was updated successfully, but these errors were encountered: